Class IteratorCast<F,​T>

  • All Implemented Interfaces:
    Iterator<T>

    public class IteratorCast<F,​T>
    extends Object
    implements Iterator<T>
    • Constructor Detail

      • IteratorCast

        public IteratorCast​(Iterator<F> from)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<F>
      • next

        public T next()
        Specified by:
        next in interface Iterator<F>
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<F>