Uses of Class
edu.rice.cs.plt.iter.SnapshotIterable

Packages that use SnapshotIterable
edu.rice.cs.plt.iter A collection of implementations of Iterable and Iterator
 

Uses of SnapshotIterable in edu.rice.cs.plt.iter
 

Methods in edu.rice.cs.plt.iter that return SnapshotIterable
static
<T> SnapshotIterable<T>
IterUtil.filterSnapshot(Iterable<? extends T> iter, Predicate<? super T> pred)
          Produce an iterable that only contains values from the given iterable that satisfy a predicate.
static
<T> SnapshotIterable<T>
SnapshotIterable.make(Iterable<? extends T> iterable)
          Call the constructor (allows T to be inferred)
static
<T> SnapshotIterable<T>
SnapshotIterable.make(Iterator<? extends T> iterator)
          Call the constructor (allows T to be inferred)
static
<S,T> SnapshotIterable<T>
MappedIterable.makeSnapshot(Iterable<? extends S> source, Lambda<? super S,? extends T> map)
          Create a MappedIterable and wrap it in a SnapshotIterable, forcing immediate evaluation of the mapping.
static
<T> SnapshotIterable<T>
SkipLastIterable.makeSnapshot(Iterable<? extends T> iterable)
          Create a SkipLastIterable and wrap it in a SnapshotIterable, forcing immediate traversal of the list.
static
<T> SnapshotIterable<Iterable<T>>
PermutationIterable.makeSnapshot(Iterable<? extends T> original)
          Create a PermutationIterable and wrap it in a SnapshotIterable, forcing immediate evaluation of the permutations.
static
<T> SnapshotIterable<T>
TruncatedIterable.makeSnapshot(Iterable<? extends T> iterable, int size)
          Create a TruncatedIterable and wrap it in a SnapshotIterable, forcing immediate traversal of the list.
static
<T> SnapshotIterable<T>
FilteredIterable.makeSnapshot(Iterable<? extends T> iterable, Predicate<? super T> predicate)
          Create a FilteredIterable and wrap it in a SnapshotIterable, forcing immediate evaluation of the filter.
static
<T1,T2,R> SnapshotIterable<R>
DiagonalCartesianIterable.makeSnapshot(Iterable<? extends T1> left, Iterable<? extends T2> right, Lambda2<? super T1,? super T2,? extends R> combiner)
          Create a DiagonalCartesianIterable and wrap it in a SnapshotIterable, forcing immediate evaluation of the permutations.
static
<T1,T2,R> SnapshotIterable<R>
CartesianIterable.makeSnapshot(Iterable<? extends T1> left, Iterable<? extends T2> right, Lambda2<? super T1,? super T2,? extends R> combiner)
          Create a CartesianIterable and wrap it in a SnapshotIterable, forcing immediate evaluation of the permutations.
static
<T1,T2,R> SnapshotIterable<R>
BinaryMappedIterable.makeSnapshot(Iterable<? extends T1> source1, Iterable<? extends T2> source2, Lambda2<? super T1,? super T2,? extends R> map)
          Create a BinaryMappedIterable and wrap it in a SnapshotIterable, forcing immediate evaluation of the mapping.
static
<T> SnapshotIterable<T>
SkipFirstIterable.makeSnapshot(Iterable<T> iterable)
          Create a SkipFirstIterable and wrap it in a SnapshotIterable, forcing immediate traversal of the list.
static
<T> SnapshotIterable<T>
FiniteSequenceIterable.makeSnapshot(T initial, Lambda<? super T,? extends T> successor, int size)
          Create a FiniteSequenceIterable and wrap it in a SnapshotIterable, forcing immediate evaluation of the sequence.
static
<T,R> SnapshotIterable<R>
IterUtil.mapSnapshot(Iterable<? extends T> source, Lambda<? super T,? extends R> map)
          Immediately apply a map function to each element in an iterable.
static
<T1,T2,T3,T4,R>
SnapshotIterable<R>
IterUtil.mapSnapshot(Iterable<? extends T1> iter1, Iterable<? extends T2> iter2, Iterable<? extends T3> iter3, Iterable<? extends T4> iter4, Lambda4<? super T1,? super T2,? super T3,? super T4,? extends R> map)
          Immediately apply a map function to each corresponding quadruple of elements in the given iterables.
static
<T1,T2,T3,R>
SnapshotIterable<R>
IterUtil.mapSnapshot(Iterable<? extends T1> iter1, Iterable<? extends T2> iter2, Iterable<? extends T3> iter3, Lambda3<? super T1,? super T2,? super T3,? extends R> map)
          Immediately apply a map function to each corresponding triple of elements in the given iterables.
static
<T1,T2,R> SnapshotIterable<R>
IterUtil.mapSnapshot(Iterable<? extends T1> iter1, Iterable<? extends T2> iter2, Lambda2<? super T1,? super T2,? extends R> map)
          Immediately apply a map function to each corresponding pair of elements in the given iterables.
static
<T> SnapshotIterable<T>
IterUtil.snapshot(Iterable<? extends T> iter)
          Create a SnapshotIterable with the given iterable.
static
<T> SnapshotIterable<T>
IterUtil.snapshot(Iterator<? extends T> iter)
          Create a SnapshotIterable with the given iterator.