Class SelectIterator<T>

  • All Implemented Interfaces:
    Iterator<T>

    public final class SelectIterator<T>
    extends Object
    implements Iterator<T>
    • Constructor Detail

      • SelectIterator

        public SelectIterator​(Iterable<T> iterable,
                              Predicate<? super T> predicate)
      • SelectIterator

        public SelectIterator​(Iterator<T> iterator,
                              Predicate<? super T> predicate)
    • Method Detail

      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<T>
      • hasNext

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

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