|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Triple | |
|---|---|
| edu.rice.cs.plt.iter | A collection of implementations of Iterable and Iterator. |
| edu.rice.cs.plt.lambda | A collection of interfaces facilitating first-class functions in Java. |
| edu.rice.cs.plt.recur | Classes enabling safe handling of infinite or extremely deep recursion. |
| edu.rice.cs.plt.text | Provides support for various manipulations of strings. |
| edu.rice.cs.plt.tuple | Classes for the type-parameterized representation of tuples. |
| Uses of Triple in edu.rice.cs.plt.iter |
|---|
| Methods in edu.rice.cs.plt.iter that return Triple | ||
|---|---|---|
static
|
IterUtil.makeTriple(Iterable<? extends T> iter)
Convert an iterable of 3 elements to a Triple. |
|
| Methods in edu.rice.cs.plt.iter that return types with arguments of type Triple | ||
|---|---|---|
static
|
IterUtil.cross(Iterable<? extends T1> iter1,
Iterable<? extends T2> iter2,
Iterable<? extends T3> iter3)
Lazily produce the cartesian (cross) product of three iterables, wrapping each combination of elements in a Triple. |
|
static
|
IterUtil.diagonalCross(Iterable<? extends T1> iter1,
Iterable<? extends T2> iter2,
Iterable<? extends T3> iter3)
Lazily produce the cartesian (cross) product of three iterables, wrapping each combination of elements in a Triple. |
|
static
|
IterUtil.zip(Iterable<? extends T1> iter1,
Iterable<? extends T2> iter2,
Iterable<? extends T3> iter3)
Lazily create an iterable of Triples of corresponding values from the given iterables (assumed to
always have the same length). |
|
| Methods in edu.rice.cs.plt.iter with parameters of type Triple | ||
|---|---|---|
static
|
IterUtil.toIterable(Triple<? extends T,? extends T,? extends T> tuple)
Produce an iterable of size 3 from a Triple. |
|
| Method parameters in edu.rice.cs.plt.iter with type arguments of type Triple | ||
|---|---|---|
static
|
IterUtil.tripleFirsts(Iterable<? extends Triple<? extends T,?,?>> iter)
Lazily create an iterable containing the first values of the given tuples. |
|
static
|
IterUtil.tripleSeconds(Iterable<? extends Triple<?,? extends T,?>> iter)
Lazily create an iterable containing the second values of the given tuples. |
|
static
|
IterUtil.tripleThirds(Iterable<? extends Triple<?,?,? extends T>> iter)
Lazily create an iterable containing the third values of the given tuples. |
|
| Uses of Triple in edu.rice.cs.plt.lambda |
|---|
| Methods in edu.rice.cs.plt.lambda that return types with arguments of type Triple | ||
|---|---|---|
static
|
LambdaUtil.unary(Lambda3<? super T1,? super T2,? super T3,? extends R> lambda)
Treat a Lambda3 as a unary lambda accepting a Triple argument. |
|
static
|
LambdaUtil.unary(Predicate3<? super T1,? super T2,? super T3> pred)
Treat a Predicate3 as a unary predicate accepting a Triple argument. |
|
static
|
LambdaUtil.unary(Runnable3<? super T1,? super T2,? super T3> runnable)
Treat a Runnable3 as a Runnable1 accepting a Triple argument. |
|
| Method parameters in edu.rice.cs.plt.lambda with type arguments of type Triple | ||
|---|---|---|
static
|
LambdaUtil.flatten3(Lambda<? super Triple<T1,T2,T3>,? extends R> lambda)
Treat a lambda accepting a Triple argument as a Lambda3. |
|
static
|
LambdaUtil.flatten3(Predicate<? super Triple<T1,T2,T3>> pred)
Treat a predicate accepting a Triple argument as a Predicate3. |
|
static
|
LambdaUtil.flatten3(Runnable1<? super Triple<T1,T2,T3>> runnable)
Treat a runnable accepting a Triple argument as a Runnable3. |
|
| Uses of Triple in edu.rice.cs.plt.recur |
|---|
| Method parameters in edu.rice.cs.plt.recur with type arguments of type Triple | ||
|---|---|---|
static
|
RecursionStack3.make(Lambda3<? super T1,? super T2,? super T3,? extends Triple<T1,T2,T3>> tripleFactory)
Call the constructor (allows the type arguments to be inferred) |
|
static
|
PrecomputedRecursionStack3.make(Lambda3<? super T1,? super T2,? super T3,? extends Triple<T1,T2,T3>> tripleFactory)
Call the constructor (allows the type arguments to be inferred) |
|
| Constructor parameters in edu.rice.cs.plt.recur with type arguments of type Triple | |
|---|---|
PrecomputedRecursionStack3(Lambda3<? super T1,? super T2,? super T3,? extends Triple<T1,T2,T3>> tripleFactory)
Create an empty recursion stack with the given Triple factory |
|
RecursionStack3(Lambda3<? super T1,? super T2,? super T3,? extends Triple<T1,T2,T3>> tripleFactory)
Create an empty recursion stack with the given Triple factory |
|
| Uses of Triple in edu.rice.cs.plt.text |
|---|
| Methods in edu.rice.cs.plt.text that return Triple | |
|---|---|
Triple<String,String,String> |
ArgumentParser.Result.getTernaryOption(String opt)
Get the 3 arguments associated with the given option, or null if it is undefined
or has a different number of arguments. |
| Uses of Triple in edu.rice.cs.plt.tuple |
|---|
| Subclasses of Triple in edu.rice.cs.plt.tuple | |
|---|---|
class |
IdentityTriple<T1,T2,T3>
A triple that defines IdentityTriple.equals(java.lang.Object) and Tuple.hashCode() in terms of its elements'
identity (==) instead of equality (@code equals}) |
| Methods in edu.rice.cs.plt.tuple that return Triple | ||
|---|---|---|
static
|
Triple.make(T1 first,
T2 second,
T3 third)
Call the constructor (allows the type arguments to be inferred) |
|
| Methods in edu.rice.cs.plt.tuple that return types with arguments of type Triple | ||
|---|---|---|
static
|
Triple.factory()
Produce a lambda that invokes the constructor |
|
static
|
IdentityTriple.factory()
Produce a lambda that invokes the constructor |
|
static
|
Triple.firstGetter()
Produce a lambda that invokes first() on a provided triple. |
|
static
|
Triple.secondGetter()
Produce a lambda that invokes second() on a provided triple. |
|
static
|
Triple.thirdGetter()
Produce a lambda that invokes third() on a provided triple. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||