Uses of Class
edu.rice.cs.plt.tuple.Triple

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
<T> Triple<T,T,T>
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
<T1,T2,T3> SizedIterable<Triple<T1,T2,T3>>
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
<T1,T2,T3> SizedIterable<Triple<T1,T2,T3>>
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
<T1,T2,T3> Iterable<Triple<T1,T2,T3>>
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
<T> SizedIterable<T>
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
<T> Iterable<T>
IterUtil.tripleFirsts(Iterable<? extends Triple<? extends T,?,?>> iter)
          Lazily create an iterable containing the first values of the given tuples.
static
<T> Iterable<T>
IterUtil.tripleSeconds(Iterable<? extends Triple<?,? extends T,?>> iter)
          Lazily create an iterable containing the second values of the given tuples.
static
<T> Iterable<T>
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
<T1,T2,T3,R>
Lambda<Triple<T1,T2,T3>,R>
LambdaUtil.unary(Lambda3<? super T1,? super T2,? super T3,? extends R> lambda)
          Treat a Lambda3 as a unary lambda accepting a Triple argument.
static
<T1,T2,T3> Predicate<Triple<T1,T2,T3>>
LambdaUtil.unary(Predicate3<? super T1,? super T2,? super T3> pred)
          Treat a Predicate3 as a unary predicate accepting a Triple argument.
static
<T1,T2,T3> Runnable1<Triple<T1,T2,T3>>
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
<T1,T2,T3,R>
Lambda3<T1,T2,T3,R>
LambdaUtil.flatten3(Lambda<? super Triple<T1,T2,T3>,? extends R> lambda)
          Treat a lambda accepting a Triple argument as a Lambda3.
static
<T1,T2,T3> Predicate3<T1,T2,T3>
LambdaUtil.flatten3(Predicate<? super Triple<T1,T2,T3>> pred)
          Treat a predicate accepting a Triple argument as a Predicate3.
static
<T1,T2,T3> Runnable3<T1,T2,T3>
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
<T1,T2,T3> RecursionStack3<T1,T2,T3>
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
<T1,T2,T3,R>
PrecomputedRecursionStack3<T1,T2,T3,R>
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
<T1,T2,T3> Triple<T1,T2,T3>
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
<T1,T2,T3> Lambda3<T1,T2,T3,Triple<T1,T2,T3>>
Triple.factory()
          Produce a lambda that invokes the constructor
static
<T1,T2,T3> Lambda3<T1,T2,T3,Triple<T1,T2,T3>>
IdentityTriple.factory()
          Produce a lambda that invokes the constructor
static
<T> Lambda<Triple<? extends T,?,?>,T>
Triple.firstGetter()
          Produce a lambda that invokes first() on a provided triple.
static
<T> Lambda<Triple<?,? extends T,?>,T>
Triple.secondGetter()
          Produce a lambda that invokes second() on a provided triple.
static
<T> Lambda<Triple<?,?,? extends T>,T>
Triple.thirdGetter()
          Produce a lambda that invokes third() on a provided triple.