|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SizedIterable | |
|---|---|
| edu.rice.cs.plt.collect | Contains general-purpose extensions to and variations on the java.util collections
framework. |
| edu.rice.cs.plt.concurrent | Contains tools to support safe multi-threaded programs. |
| edu.rice.cs.plt.debug | Defines a variety of logging classes, along with other facilities for code-embedded debugging. |
| edu.rice.cs.plt.io | Provides extensions to the java.io package, which provides character- and byte- based
streams and buffers, files, file filters, and serialization. |
| edu.rice.cs.plt.iter | A collection of implementations of Iterable and Iterator. |
| edu.rice.cs.plt.text | Provides support for various manipulations of strings. |
| Uses of SizedIterable in edu.rice.cs.plt.collect |
|---|
| Subinterfaces of SizedIterable in edu.rice.cs.plt.collect | |
|---|---|
interface |
FunctionalRelation<T1,T2>
A functional relation: each first (of type T1) corresponds to at most one second
(of type T2). |
interface |
InjectiveRelation<T1,T2>
An injective relation: each second (of type T2) corresponds to at most one first
(of type T1). |
interface |
Multiset<T>
A set-like collection that allows multiple instances of a value to be represented in the collection. |
interface |
OneToOneRelation<T1,T2>
A injective functional relation: each first (of type T1) corresponds to at most one
second (of type T2), and vice versa. |
interface |
PredicateSet<T>
A Set that can be treated as a Predicate and as a SizedIterable. |
interface |
Relation<T1,T2>
A set of pairs representing a binary relation. |
interface |
Relation3<T1,T2,T3>
A set of triples representing a ternary relation. |
interface |
Relation4<T1,T2,T3,T4>
A set of quads representing a quaternary relation. |
interface |
RelationIndex<K,V>
Maintains an index mapping values of one type to sets of another. |
| Classes in edu.rice.cs.plt.collect that implement SizedIterable | |
|---|---|
class |
AbstractFunctionalRelation<T1,T2>
An abstract parent class for implementations of FunctionalRelation. |
protected class |
AbstractFunctionalRelation.InverseFunctionalRelation
An inverse of the enclosing relation. |
class |
AbstractInjectiveRelation<T1,T2>
An abstract parent class for implementations of InjectiveRelation. |
protected class |
AbstractInjectiveRelation.InverseInjectiveRelation
An inverse of the enclosing relation. |
protected class |
AbstractKeyBasedMap.EntrySet
An entry set defined in terms of the enclosing map's other methods. |
class |
AbstractOneToOneRelation<T1,T2>
An abstract parent class for implementations of OneToOneRelation. |
protected class |
AbstractOneToOneRelation.InverseOneToOneRelation
An inverse of the enclosing relation. |
class |
AbstractPredicateSet<T>
An extension of AbstractSet that implements the PredicateSet interface. |
class |
AbstractRelation<T1,T2>
An abstract parent class for implementations of Relation. |
protected class |
AbstractRelation.InverseRelation
An inverse of the enclosing relation, defined in terms of Pair.inverse(). |
class |
CartesianRelation<T1,T2>
A Relation representing the cartesian (or cross) product of two sets. |
class |
ComplementRelation<T1,T2>
The complement of a relation excluded in a domain domain (alternatively,
domain - excluded), constructed lazily and updated dynamically. |
class |
ComplementSet<E>
The complement of a set excluded in a domain domain (alternatively,
domain - excluded), constructed lazily and updated dynamically. |
class |
ComposedRelation<T1,T2,T3>
The transitive composition of two relations, lazily constructed and dynamically-updated. |
class |
ConcreteRelationIndex<K,V>
A RelationIndex implementation that maintains concrete data structures to index the contents of the relation. |
class |
ConsList<T>
A Lisp- or Scheme-style immutable list. |
static class |
ConsList.Empty<T>
The empty variant of a ConsList. |
static class |
ConsList.Nonempty<T>
The nonempty variant of a ConsList. |
class |
DelegatingCollection<T>
A collection that delegates all operations to a wrapped collection. |
class |
DelegatingList<E>
An implementation of List that delegates all operations to a wrapped
list. |
class |
DelegatingRelation<T1,T2>
A relation that delegates all operations to a wrapped relation. |
class |
DelegatingSet<T>
An implementation of PredicateSet that delegates all operations to a wrapped
set. |
class |
EmptyCollection<T>
Abstract parent class of immutable empty collections. |
class |
EmptyRelation<T1,T2>
An immutable, empty, one-to-one relation. |
class |
EmptySet<E>
An immutable empty PredicateSet. |
class |
ExternallySortedSet<T,C extends Comparable<? super C>>
A container class that almost implements the SortedSet interface;
the difference is that add() takes two parameters -- an element, along with a
corresponding Comparable that will be used to sort the set. |
class |
FilteredRelation<T1,T2>
A relation that contains only those pairs contained by both the given relation and the given predicate. |
class |
FilteredSet<T>
A set that contains only those elements contained by both the given set and the given predicate. |
class |
HashMultiset<T>
A HashMap-based implementation of Multiset. |
class |
ImmutableCollection<T>
Wraps a collection in an immutable interface. |
class |
ImmutableRelation<T1,T2>
Wraps a relation in an immutable interface. |
class |
ImmutableSet<T>
Wraps a set in an immutable interface. |
class |
IndexedFunctionalRelation<T1,T2>
An implementation of the FunctionalRelation interface based on indexing maps. |
class |
IndexedInjectiveRelation<T1,T2>
A hash code-based implementation of the InjectiveRelation interface. |
class |
IndexedOneToOneRelation<T1,T2>
A implementation of OneToOneRelation based on indexing maps. |
class |
IndexedRelation<T1,T2>
An implementation of the Relation interface based on indexing maps. |
class |
IntersectionRelation<T1,T2>
The intersection of two relations, lazily constructed and updated dynamically. |
class |
IntersectionSet<E>
The intersection of two sets, lazily constructed and updated dynamically. |
class |
IterableCollection<E>
A Collection wrapping an Iterable. |
class |
IterableSet<E>
A Set wrapping an Iterable. |
class |
LazyRelationIndex<K,V>
A RelationIndex implementation defined lazily in terms of the contents of a dynamic list of pairs. |
class |
ListenerSet<T>
A mutable set of listeners. |
class |
SingletonRelation<T1,T2>
An immutable Relation containing a single pair. |
class |
SingletonSet<E>
An immutable PredicateSet with a single element. |
class |
SnapshotSynchronizedList<E>
A synchronized list like Collections.synchronizedList(java.util.List, but one that returns a snapshot of
the list contents on invocations of iterator(). |
class |
SnapshotSynchronizedSet<E>
A synchronized set like Collections.synchronizedSet(java.util.Set, but one that returns a snapshot of
the set contents on invocations of iterator(). |
class |
UnindexedRelation<T1,T2>
A mutable relation implemented by wrapping a set of pairs. |
class |
UnionRelation<T1,T2>
The union of two relations, lazily constructed and updated dynamically. |
class |
UnionSet<E>
The union of two sets, lazily constructed and updated dynamically. |
| Uses of SizedIterable in edu.rice.cs.plt.concurrent |
|---|
| Methods in edu.rice.cs.plt.concurrent that return SizedIterable | |
|---|---|
SizedIterable<java.io.File> |
JVMBuilder.classPath()
|
SizedIterable<java.lang.String> |
JVMBuilder.jvmArguments()
|
| Uses of SizedIterable in edu.rice.cs.plt.debug |
|---|
| Classes in edu.rice.cs.plt.debug that implement SizedIterable | |
|---|---|
class |
EventSequence<T>
A sequence of "events" used to record and verify program behavior, especially when this behavior is effect-based. |
| Methods in edu.rice.cs.plt.debug that return SizedIterable | |
|---|---|
SizedIterable<java.lang.StackTraceElement> |
ThreadSnapshot.getStackTrace()
The stack trace at creation time, as returned by Thread.getStackTrace(). |
| Methods in edu.rice.cs.plt.debug with parameters of type SizedIterable | |
|---|---|
protected void |
IndentedTextLogSink.write(LogSink.Message m,
SizedIterable<java.lang.String> text)
|
protected void |
TreeLogSink.write(LogSink.Message m,
SizedIterable<java.lang.String> text)
|
protected abstract void |
TextLogSink.write(LogSink.Message m,
SizedIterable<java.lang.String> text)
Record the given message, the body of which is described by the given lines of text. |
protected void |
AssertEmptyLogSink.write(LogSink.Message m,
SizedIterable<java.lang.String> text)
|
protected void |
PopupLogSink.write(LogSink.Message m,
SizedIterable<java.lang.String> messages)
|
protected void |
IndentedTextLogSink.writeEnd(LogSink.EndMessage m,
SizedIterable<java.lang.String> text)
|
protected void |
TreeLogSink.writeEnd(LogSink.EndMessage m,
SizedIterable<java.lang.String> text)
|
protected abstract void |
TextLogSink.writeEnd(LogSink.EndMessage m,
SizedIterable<java.lang.String> text)
Record the given end message, the body of which is described by the given lines of text. |
protected void |
AssertEmptyLogSink.writeEnd(LogSink.EndMessage m,
SizedIterable<java.lang.String> text)
|
protected void |
PopupLogSink.writeEnd(LogSink.EndMessage m,
SizedIterable<java.lang.String> messages)
|
protected void |
IndentedTextLogSink.writeStart(LogSink.StartMessage m,
SizedIterable<java.lang.String> text)
|
protected void |
TreeLogSink.writeStart(LogSink.StartMessage m,
SizedIterable<java.lang.String> text)
|
protected abstract void |
TextLogSink.writeStart(LogSink.StartMessage m,
SizedIterable<java.lang.String> text)
Record the given start message, the body of which is described by the given lines of text. |
protected void |
AssertEmptyLogSink.writeStart(LogSink.StartMessage m,
SizedIterable<java.lang.String> text)
|
protected void |
PopupLogSink.writeStart(LogSink.StartMessage m,
SizedIterable<java.lang.String> messages)
|
| Uses of SizedIterable in edu.rice.cs.plt.io |
|---|
| Methods in edu.rice.cs.plt.io that return SizedIterable | |
|---|---|
static SizedIterable<java.io.File> |
IOUtil.attemptAbsoluteFiles(java.lang.Iterable<? extends java.io.File> files)
Apply IOUtil.attemptAbsoluteFile(java.io.File) to all files in a list |
static SizedIterable<java.io.File> |
IOUtil.attemptCanonicalFiles(java.lang.Iterable<? extends java.io.File> files)
Apply IOUtil.attemptCanonicalFile(java.io.File) to all files in a list |
static SizedIterable<java.io.File> |
IOUtil.attemptListFilesAsIterable(java.io.File f)
Similar to IOUtil.attemptListFiles(File), but returns a non-null Iterable
rather than an array. |
static SizedIterable<java.io.File> |
IOUtil.attemptListFilesAsIterable(java.io.File f,
java.io.FileFilter filter)
Similar to IOUtil.attemptListFiles(File, FileFilter), but returns a non-null Iterable
rather than an array. |
static SizedIterable<java.io.File> |
IOUtil.attemptListFilesAsIterable(java.io.File f,
FilePredicate filter)
Similar to IOUtil.attemptListFiles(File, FileFilter), but returns a non-null Iterable
rather than an array. |
static SizedIterable<java.io.File> |
IOUtil.attemptListFilesAsIterable(java.io.File f,
Predicate<? super java.io.File> filter)
Similar to IOUtil.attemptListFiles(File, FileFilter), but returns a non-null Iterable
rather than an array. |
static SizedIterable<java.io.File> |
IOUtil.canonicalCases(java.lang.Iterable<? extends java.io.File> files)
Apply IOUtil.canonicalCase(java.io.File) to all files in a list |
static SizedIterable<java.io.File> |
IOUtil.fullPath(java.io.File f)
Create a list of files representing the full path of f. |
static SizedIterable<java.io.File> |
IOUtil.getAbsoluteFiles(java.lang.Iterable<? extends java.io.File> files)
Apply File.getAbsoluteFile() to all files in a list |
static SizedIterable<java.io.File> |
IOUtil.getCanonicalFiles(java.lang.Iterable<? extends java.io.File> files)
Apply File.getCanonicalFile() to all files in a list |
static SizedIterable<java.io.File> |
IOUtil.listFilesRecursively(java.io.File f)
Produce a list of the recursive contents of a file. |
static SizedIterable<java.io.File> |
IOUtil.listFilesRecursively(java.io.File f,
java.io.FileFilter filter)
Produce a list of the recursive contents of a file. |
static SizedIterable<java.io.File> |
IOUtil.listFilesRecursively(java.io.File f,
java.io.FileFilter filter,
java.io.FileFilter recursionFilter)
Produce a list of the recursive contents of a file. |
static SizedIterable<java.io.File> |
IOUtil.listFilesRecursively(java.io.File f,
FilePredicate filter)
Produce a list of the recursive contents of a file. |
static SizedIterable<java.io.File> |
IOUtil.listFilesRecursively(java.io.File f,
FilePredicate filter,
FilePredicate recursionFilter)
Produce a list of the recursive contents of a file. |
static SizedIterable<java.io.File> |
IOUtil.listFilesRecursively(java.io.File f,
Predicate<? super java.io.File> filter)
Produce a list of the recursive contents of a file. |
static SizedIterable<java.io.File> |
IOUtil.listFilesRecursively(java.io.File f,
Predicate<? super java.io.File> filter,
Predicate<? super java.io.File> recursionFilter)
Produce a list of the recursive contents of a file. |
static SizedIterable<java.io.File> |
IOUtil.parsePath(java.lang.String path)
Parse a path string -- a list of file names separated by the system-dependent path separator character (':' in Unix, ';' in Windows). |
| Uses of SizedIterable in edu.rice.cs.plt.iter |
|---|
| Classes in edu.rice.cs.plt.iter that implement SizedIterable | |
|---|---|
class |
BinaryMappedIterable<T1,T2,R>
An Iterable containing the results of some binary operation on two input lists (assumed to always have the same size). |
class |
CartesianIterable<T1,T2,R>
Enumerates the elements of a cartesian (or cross) product. |
class |
CollapsedIterable<T>
Collapses a list of lists into a single list. |
class |
ComposedIterable<T>
Defines an iterable by composing two other iterables (or a value with an iterable). |
class |
DiagonalCartesianIterable<T1,T2,R>
Enumerates the elements of a cartesian (or cross) product in diagonal order. |
class |
EmptyIterable<T>
A 0-length iterable |
class |
FiniteSequenceIterable<T>
An iterable representing a finite sequence. |
class |
ImmutableIterable<T>
Wraps an iterable in an immutable interface, thus allowing internal data structures to be treated by clients as iterables without allowing access (via casting) to their mutating methods. |
class |
MappedIterable<S,T>
An Iterable containing all the values in the provided Iterable after applying some specified transformation. |
class |
PermutationIterable<T>
An enumeration of all permutations of the given list. |
class |
SequenceIterable<T>
An iterable representing an infinite sequence. |
class |
SingletonIterable<T>
An iterable wrapping a single value |
class |
SkipFirstIterable<T>
Contains all but the first element of a wrapped iterable. |
class |
SkipLastIterable<T>
Contains all but the last element of a wrapped iterable. |
class |
SnapshotIterable<T>
Creates an iterable based on the result of immediately traversing some other iterable (assumed to be finite); generated iterators will traverse those same values in the same order. |
class |
TruncatedIterable<T>
Contains, for some value size, the first size elements of a nested iterable. |
| Methods in edu.rice.cs.plt.iter that return SizedIterable | ||
|---|---|---|
static SizedIterable<?> |
IterUtil.arrayAsIterable(java.lang.Object array)
Returns an iterable that traverses the given array, which may contain primitives or references. |
|
static SizedIterable<java.lang.Boolean> |
IterUtil.arraySegment(boolean[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Boolean> |
IterUtil.arraySegment(boolean[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Byte> |
IterUtil.arraySegment(byte[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Byte> |
IterUtil.arraySegment(byte[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Character> |
IterUtil.arraySegment(char[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Character> |
IterUtil.arraySegment(char[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Double> |
IterUtil.arraySegment(double[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Double> |
IterUtil.arraySegment(double[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Float> |
IterUtil.arraySegment(float[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Float> |
IterUtil.arraySegment(float[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Integer> |
IterUtil.arraySegment(int[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Integer> |
IterUtil.arraySegment(int[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Long> |
IterUtil.arraySegment(long[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Long> |
IterUtil.arraySegment(long[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Short> |
IterUtil.arraySegment(short[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Short> |
IterUtil.arraySegment(short[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static
|
IterUtil.arraySegment(T[] array,
int start)
Create a SizedIterable wrapping a segment of the given array. |
|
static
|
IterUtil.arraySegment(T[] array,
int start,
int end)
Create a SizedIterable wrapping a segment of the given array. |
|
static SizedIterable<java.lang.Boolean> |
IterUtil.asIterable(boolean[] array)
Create a SizedIterable wrapping the given array. |
|
static SizedIterable<java.lang.Byte> |
IterUtil.asIterable(byte[] values)
Create a SizedIterable wrapping the given array. |
|
static SizedIterable<java.lang.Character> |
IterUtil.asIterable(char[] array)
Create a SizedIterable wrapping the given array. |
|
static SizedIterable<java.lang.Character> |
IterUtil.asIterable(java.lang.CharSequence sequence)
Create an iterable that wraps the given CharSequence. |
|
static SizedIterable<java.lang.Double> |
IterUtil.asIterable(double[] values)
Create a SizedIterable wrapping the given array. |
|
static SizedIterable<java.lang.Float> |
IterUtil.asIterable(float[] values)
Create a SizedIterable wrapping the given array. |
|
static SizedIterable<java.lang.Integer> |
IterUtil.asIterable(int[] values)
Create a SizedIterable wrapping the given array. |
|
static SizedIterable<java.lang.Long> |
IterUtil.asIterable(long[] values)
Create a SizedIterable wrapping the given array. |
|
static SizedIterable<java.lang.Short> |
IterUtil.asIterable(short[] values)
Create a SizedIterable wrapping the given array. |
|
static SizedIterable<java.lang.Character> |
IterUtil.asIterable(java.lang.String sequence)
Create an iterable that wraps the given string. |
|
static
|
IterUtil.asIterable(T... array)
Create a SizedIterable wrapping the given array. |
|
static
|
IterUtil.asSizedIterable(java.util.Collection<T> coll)
Convert the given Collection to a SizedIterable. |
|
static
|
IterUtil.cross(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iters)
Lazily produce the cartesian (cross) product of an arbitrary number of iterables. |
|
static
|
IterUtil.cross(java.lang.Iterable<? extends T1> left,
java.lang.Iterable<? extends T2> right)
Lazily produce the cartesian (cross) product of two iterables, wrapping each combination of elements in a Pair. |
|
static
|
IterUtil.cross(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3)
Lazily produce the cartesian (cross) product of three iterables, wrapping each combination of elements in a Triple. |
|
static
|
IterUtil.cross(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
java.lang.Iterable<? extends T4> iter4)
Lazily produce the cartesian (cross) product of four iterables, wrapping each combination of elements in a Quad. |
|
static
|
IterUtil.cross(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
java.lang.Iterable<? extends T4> iter4,
Lambda4<? super T1,? super T2,? super T3,? super T4,? extends R> combiner)
Lazily produce the cartesian (cross) product of four iterables. |
|
static
|
IterUtil.cross(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
Lambda3<? super T1,? super T2,? super T3,? extends R> combiner)
Lazily produce the cartesian (cross) product of three iterables. |
|
static
|
IterUtil.cross(java.lang.Iterable<? extends T1> left,
java.lang.Iterable<? extends T2> right,
Lambda2<? super T1,? super T2,? extends R> combiner)
Lazily produce the cartesian (cross) product of two iterables. |
|
static
|
IterUtil.crossFold(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iters,
R base,
Lambda2<? super R,? super T,? extends R> combiner)
Lazily apply the given folding function to each tuple in the cartesian (cross) product of the given iterables. |
|
static
|
IterUtil.diagonalCross(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iters)
Lazily produce the cartesian (cross) product of an arbitrary number of iterables. |
|
static
|
IterUtil.diagonalCross(java.lang.Iterable<? extends T1> left,
java.lang.Iterable<? extends T2> right)
Lazily produce the cartesian (cross) product of two iterables, wrapping each combination of elements in a Pair. |
|
static
|
IterUtil.diagonalCross(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3)
Lazily produce the cartesian (cross) product of three iterables, wrapping each combination of elements in a Triple. |
|
static
|
IterUtil.diagonalCross(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
java.lang.Iterable<? extends T4> iter4)
Lazily produce the cartesian (cross) product of four iterables, wrapping each combination of elements in a Quad. |
|
static
|
IterUtil.diagonalCross(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
java.lang.Iterable<? extends T4> iter4,
Lambda4<? super T1,? super T2,? super T3,? super T4,? extends R> combiner)
Lazily produce the cartesian (cross) product of four iterables. |
|
static
|
IterUtil.diagonalCross(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
Lambda3<? super T1,? super T2,? super T3,? extends R> combiner)
Lazily produce the cartesian (cross) product of three iterables. |
|
static
|
IterUtil.diagonalCross(java.lang.Iterable<? extends T1> left,
java.lang.Iterable<? extends T2> right,
Lambda2<? super T1,? super T2,? extends R> combiner)
Lazily produce the cartesian (cross) product of two iterables. |
|
static
|
IterUtil.diagonalCrossFold(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iters,
R base,
Lambda2<? super R,? super T,? extends R> combiner)
Lazily apply the given folding function to each tuple in the cartesian (cross) product of the given iterables. |
|
static
|
IterUtil.make()
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T... vals)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T[] vals,
int start)
Create an immutable SizedIterable containing the given values, from index start through the end
of the array. |
|
static
|
IterUtil.make(T[] vals,
int start,
int end)
Create an immutable SizedIterable containing the given values, from array index start through
end-1, inclusive (the size of the result is end-start). |
|
static
|
IterUtil.make(T v1,
T v2)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1,
T v2,
T v3)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1,
T v2,
T v3,
T v4)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1,
T v2,
T v3,
T v4,
T v5)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1,
T v2,
T v3,
T v4,
T v5,
T v6)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1,
T v2,
T v3,
T v4,
T v5,
T v6,
T v7)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1,
T v2,
T v3,
T v4,
T v5,
T v6,
T v7,
T v8)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1,
T v2,
T v3,
T v4,
T v5,
T v6,
T v7,
T v8,
T v9)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.make(T v1,
T v2,
T v3,
T v4,
T v5,
T v6,
T v7,
T v8,
T v9,
T v10)
Create an immutable SizedIterable containing the given values. |
|
static
|
IterUtil.map(java.lang.Iterable<? extends T> source,
Lambda<? super T,? extends R> map)
Lazily apply a map function to each element in an iterable. |
|
static
|
IterUtil.map(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
java.lang.Iterable<? extends T4> iter4,
Lambda4<? super T1,? super T2,? super T3,? super T4,? extends R> map)
Lazily apply a map function to each corresponding quadruple of elements in the given iterables. |
|
static
|
IterUtil.map(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
Lambda3<? super T1,? super T2,? super T3,? extends R> map)
Lazily apply a map function to each corresponding triple of elements in the given iterables. |
|
static
|
IterUtil.map(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
Lambda2<? super T1,? super T2,? extends R> map)
Lazily apply a map function to each corresponding pair of elements in the given iterables. |
|
static
|
IterUtil.pairFirsts(java.lang.Iterable<? extends Pair<? extends T,?>> iter)
Lazily create an iterable containing the first values of the given tuples. |
|
static
|
IterUtil.pairSeconds(java.lang.Iterable<? extends Pair<?,? extends T>> iter)
Lazily create an iterable containing the second values of the given tuples. |
|
static
|
IterUtil.quadFirsts(java.lang.Iterable<? extends Quad<? extends T,?,?,?>> iter)
Lazily create an iterable containing the first values of the given tuples. |
|
static
|
IterUtil.quadFourths(java.lang.Iterable<? extends Quad<?,?,?,? extends T>> iter)
Lazily create an iterable containing the fourth values of the given tuples. |
|
static
|
IterUtil.quadSeconds(java.lang.Iterable<? extends Quad<?,? extends T,?,?>> iter)
Lazily create an iterable containing the second values of the given tuples. |
|
static
|
IterUtil.quadThirds(java.lang.Iterable<? extends Quad<?,?,? extends T,?>> iter)
Lazily create an iterable containing the third values of the given tuples. |
|
static
|
IterUtil.relax(java.lang.Iterable<? extends T> iter)
Allow covariance in situations where wildcards can't be used by wrapping the iterable with a less- precise type parameter. |
|
static
|
IterUtil.reverse(java.lang.Iterable<? extends T> iter)
Produce a reverse-order iterable over the given elements. |
|
static
|
IterUtil.shuffle(java.lang.Iterable<T> iter)
Produce a shuffled iterable over the given elements. |
|
static
|
IterUtil.shuffle(java.lang.Iterable<T> iter,
java.util.Random random)
Produce a shuffled iterable over the given elements, using the specified random number generator. |
|
static
|
IterUtil.sort(java.lang.Iterable<T> iter)
Produce a sorted iterable over the given elements. |
|
static
|
IterUtil.sort(java.lang.Iterable<T> iter,
java.util.Comparator<? super T> comp)
Produce a sorted iterable over the given elements, using the specified comparator. |
|
static
|
IterUtil.toIterable(Octet<? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T> tuple)
Produce an iterable of size 8 from an Octet. |
|
static
|
IterUtil.toIterable(Option<? extends T> option)
Produce an iterable of size 0 or 1 from an Option. |
|
static
|
IterUtil.toIterable(Pair<? extends T,? extends T> tuple)
Produce an iterable of size 2 from a Pair. |
|
static
|
IterUtil.toIterable(Quad<? extends T,? extends T,? extends T,? extends T> tuple)
Produce an iterable of size 4 from a Quad. |
|
static
|
IterUtil.toIterable(Quint<? extends T,? extends T,? extends T,? extends T,? extends T> tuple)
Produce an iterable of size 5 from a Quint. |
|
static
|
IterUtil.toIterable(Septet<? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T> tuple)
Produce an iterable of size 7 from a Septet. |
|
static
|
IterUtil.toIterable(Sextet<? extends T,? extends T,? extends T,? extends T,? extends T,? extends T> tuple)
Produce an iterable of size 6 from a Sextet. |
|
static
|
IterUtil.toIterable(Triple<? extends T,? extends T,? extends T> tuple)
Produce an iterable of size 3 from a Triple. |
|
static
|
IterUtil.toIterable(Wrapper<? extends T> tuple)
Produce an iterable of size 1 from a Wrapper. |
|
static
|
IterUtil.tripleFirsts(java.lang.Iterable<? extends Triple<? extends T,?,?>> iter)
Lazily create an iterable containing the first values of the given tuples. |
|
static
|
IterUtil.tripleSeconds(java.lang.Iterable<? extends Triple<?,? extends T,?>> iter)
Lazily create an iterable containing the second values of the given tuples. |
|
static
|
IterUtil.tripleThirds(java.lang.Iterable<? extends Triple<?,?,? extends T>> iter)
Lazily create an iterable containing the third values of the given tuples. |
|
static
|
IterUtil.valuesOf(java.lang.Iterable<? extends Lambda2<? super T1,? super T2,? extends R>> iter,
T1 arg1,
T2 arg2)
Lazily create an iterable containing the values of the application of the given lambdas. |
|
static
|
IterUtil.valuesOf(java.lang.Iterable<? extends Lambda3<? super T1,? super T2,? super T3,? extends R>> iter,
T1 arg1,
T2 arg2,
T3 arg3)
Lazily create an iterable containing the values of the application of the given lambdas. |
|
static
|
IterUtil.valuesOf(java.lang.Iterable<? extends Thunk<? extends R>> iter)
Lazily create an iterable containing the values of the given thunks. |
|
static
|
IterUtil.zip(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2)
Lazily create an iterable of Pairs of corresponding values from the given iterables (assumed to always
have the same length). |
|
static
|
IterUtil.zip(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3)
Lazily create an iterable of Triples of corresponding values from the given iterables (assumed to
always have the same length). |
|
static
|
IterUtil.zip(java.lang.Iterable<? extends T1> iter1,
java.lang.Iterable<? extends T2> iter2,
java.lang.Iterable<? extends T3> iter3,
java.lang.Iterable<? extends T4> iter4)
Lazily create an iterable of Quads of corresponding values from the given iterables (assumed to
always have the same length). |
|
| Methods in edu.rice.cs.plt.iter that return types with arguments of type SizedIterable | ||
|---|---|---|
static
|
IterUtil.split(java.lang.Iterable<? extends T> iter,
int index)
Split the given iterable into two at the given index. |
|
static
|
IterUtil.split(java.lang.Iterable<? extends T> iter,
int index)
Split the given iterable into two at the given index. |
|
| Uses of SizedIterable in edu.rice.cs.plt.text |
|---|
| Methods in edu.rice.cs.plt.text that return SizedIterable | |
|---|---|
static SizedIterable<java.lang.String> |
TextUtil.getLines(java.lang.String s)
Break a string into a list of lines. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||