That is correct behaviour, because the target of copyTo must support all
interfaces implemented (see docs). So you cannot copy a Token to a
TermAttribute (because it would be a loss in information), but the other way
round is possible.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http:
Oops, I should have read the documentation better :)
On Mon, Nov 23, 2009 at 1:22 PM, Uwe Schindler wrote:
> That is correct behaviour, because the target of copyTo must support all
> interfaces implemented (see docs). So you cannot copy a Token to a
> TermAttribute (because it would be a loss