Uses of Class
org.apache.jena.atlas.iterator.Iter
Packages that use Iter
-
Uses of Iter in org.apache.jena.atlas.iterator
Methods in org.apache.jena.atlas.iterator that return IterModifier and TypeMethodDescriptionJoin on anIterator..static <T> Iter<T>AnIteratorof 2Iterator's.static <T> Iter<T>AnIterof 2Iter'sIter.distinct()Return anIterthat will see each element of the underlying iterator only once.Iter.distinctAdjacent()Remove adjacent duplicates.Create anItersuch that elements from the front until a predicate test become true are dropped then return all remaining elements are iterated over.Create anItersuch that elements from the front while a predicate test become true are dropped then return all remaining elements are iterated over.static <T> Iter<T>Iter.empty()Filter by predicate<R> Iter<R>FlatMap each element using given function of element to iterator of mapped elements.sstatic <T> Iter<T>Iter.iter(Collection<T> collection) static <T> Iter<T>static <T> Iter<T>Iter.limit(long N) Limit the number of elements.<R> Iter<R>Map each element using given functionstatic <T> Iter<T>Iter.nullIter()static <T> Iter<T>Iter.of(T item) static <T> Iter<T>Iter.of(T... items) static <T> Iter<T>Iter.ofNullable(T t) Apply an action to everything in the stream, yielding a stream of the original items.Iter.removeNulls()Remove nullsstatic <T> Iter<T>Iter.singletonIter(T item) Iter.skip(long N) Skip over a number of elements.Iter.take(int N) Return an Iter that yields at most the first N itemsCreate anItersuch that it yields elements until a predicate test on the elements becomes true, end the iteration.Create anItersuch that it yields elements while a predicate test on the elements is true, end the iteration.Methods in org.apache.jena.atlas.iterator with parameters of type Iter