Package org.eclipse.collections.impl.lazy

This package contains implementations of the LazyIterable interface.

A LazyIterable is RichIterable which will defer evaluation for certain methods like select, reject, collect, etc.

  • Class Summary 
    Class Description
    AbstractLazyIterable<T>
    AbstractLazyIterable provides a base from which deferred iterables such as SelectIterable, RejectIterable and CollectIterable can be derived.
    ChunkIterable<T>
    A ChunkIterable is an iterable that partitions a source iterable into fixed size chunks as it iterates.
    CollectIterable<T,​V>
    A CollectIterable is an iterable that transforms a source iterable using a function as it iterates.
    CompositeIterable<E>  
    DistinctIterable<T>
    A DistinctIterable is an iterable that eliminates duplicates from a source iterable as it iterates.
    DropIterable<T>
    Iterates over the elements of the adapted Iterable skipping the first count elements or the full adapted Iterable if the count is non-positive.
    DropWhileIterable<T>
    Iterates over the elements of the adapted Iterable skipping the first elements until the predicate returns false.
    FlatCollectIterable<T,​V>  
    LazyIterableAdapter<T>
    A LazyIterableAdapter wraps any iterable with the LazyIterable interface.
    RejectIterable<T>
    A RejectIterable is an iterable that filters a source iterable on a negative condition as it iterates.
    ReverseIterable<T>
    A ReverseIterable is an iterable that wraps another iterable and iterates in reverse order.
    SelectInstancesOfIterable<T>
    A SelectIterable is an iterable that filters a source iterable for instances of a Class as it iterates.
    SelectIterable<T>
    A SelectIterable is an iterable that filters a source iterable on a condition as it iterates.
    TakeIterable<T>
    Iterates over the first count elements of the adapted Iterable or the full size of the adapted iterable if the count is greater than the length of the receiver.
    TakeWhileIterable<T>
    Iterates over the elements of the adapted Iterable until the predicate returns false.
    TapIterable<T>
    A TapIterable is an iterable that executes a procedure for each element before each iteration.
    ZipIterable<X,​Y>
    A ZipIterable is an iterable that transforms a source iterable on a condition as it iterates.
    ZipWithIndexIterable<T>
    A CollectIterable is an iterable that transforms a source iterable on a condition as it iterates.