> Same issue with using Iterator<AbstractCas>
> Two quick fixes:  casting:
> Iterator<AbstractCas> s = (Iterator<AbstractCas>) aCas.getViewIterator();
> and
> Iterator<? super CAS> s = aCas.getViewIterator();
>

Right.. I think it needs to be like this:

<T extends Iterator<? super CAS>> T getViewIterator()

But I am not sure the usefulness of this is worth the added complexity.
  -Adam

Reply via email to