|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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
|
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
|
SnapshotIterable.make(Iterable<? extends T> iterable)
Call the constructor (allows T to be inferred) |
|
static
|
SnapshotIterable.make(Iterator<? extends T> iterator)
Call the constructor (allows T to be inferred) |
|
static
|
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
|
SkipLastIterable.makeSnapshot(Iterable<? extends T> iterable)
Create a SkipLastIterable and wrap it in a SnapshotIterable, forcing
immediate traversal of the list. |
|
static
|
PermutationIterable.makeSnapshot(Iterable<? extends T> original)
Create a PermutationIterable and wrap it in a SnapshotIterable, forcing
immediate evaluation of the permutations. |
|
static
|
TruncatedIterable.makeSnapshot(Iterable<? extends T> iterable,
int size)
Create a TruncatedIterable and wrap it in a SnapshotIterable, forcing
immediate traversal of the list. |
|
static
|
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
|
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
|
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
|
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
|
SkipFirstIterable.makeSnapshot(Iterable<T> iterable)
Create a SkipFirstIterable and wrap it in a SnapshotIterable, forcing
immediate traversal of the list. |
|
static
|
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
|
IterUtil.mapSnapshot(Iterable<? extends T> source,
Lambda<? super T,? extends R> map)
Immediately apply a map function to each element in an iterable. |
|
static
|
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
|
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
|
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
|
IterUtil.snapshot(Iterable<? extends T> iter)
Create a SnapshotIterable with the given iterable. |
|
static
|
IterUtil.snapshot(Iterator<? extends T> iter)
Create a SnapshotIterable with the given iterator. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||