|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Quad | |
|---|---|
| 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 Quad in edu.rice.cs.plt.iter |
|---|
| Methods in edu.rice.cs.plt.iter that return Quad | ||
|---|---|---|
static
|
IterUtil.makeQuad(Iterable<? extends T> iter)
Convert an iterable of 4 elements to a Quad. |
|
| Methods in edu.rice.cs.plt.iter that return types with arguments of type Quad | ||
|---|---|---|
static
|
IterUtil.cross(Iterable<? extends T1> iter1,
Iterable<? extends T2> iter2,
Iterable<? extends T3> iter3,
Iterable<? extends T4> iter4)
Lazily produce the cartesian (cross) product of four iterables, wrapping each combination of elements in a Quad. |
|
static
|
IterUtil.diagonalCross(Iterable<? extends T1> iter1,
Iterable<? extends T2> iter2,
Iterable<? extends T3> iter3,
Iterable<? extends T4> iter4)
Lazily produce the cartesian (cross) product of four iterables, wrapping each combination of elements in a Quad. |
|
static
|
IterUtil.zip(Iterable<? extends T1> iter1,
Iterable<? extends T2> iter2,
Iterable<? extends T3> iter3,
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 with parameters of type Quad | ||
|---|---|---|
static
|
IterUtil.toIterable(Quad<? extends T,? extends T,? extends T,? extends T> tuple)
Produce an iterable of size 4 from a Quad. |
|
| Method parameters in edu.rice.cs.plt.iter with type arguments of type Quad | ||
|---|---|---|
static
|
IterUtil.quadFirsts(Iterable<? extends Quad<? extends T,?,?,?>> iter)
Lazily create an iterable containing the first values of the given tuples. |
|
static
|
IterUtil.quadFourths(Iterable<? extends Quad<?,?,?,? extends T>> iter)
Lazily create an iterable containing the fourth values of the given tuples. |
|
static
|
IterUtil.quadSeconds(Iterable<? extends Quad<?,? extends T,?,?>> iter)
Lazily create an iterable containing the second values of the given tuples. |
|
static
|
IterUtil.quadThirds(Iterable<? extends Quad<?,?,? extends T,?>> iter)
Lazily create an iterable containing the third values of the given tuples. |
|
| Uses of Quad in edu.rice.cs.plt.lambda |
|---|
| Methods in edu.rice.cs.plt.lambda that return types with arguments of type Quad | ||
|---|---|---|
static
|
LambdaUtil.unary(Lambda4<? super T1,? super T2,? super T3,? super T4,? extends R> lambda)
Treat a Lambda4 as a unary lambda accepting a Quad argument. |
|
static
|
LambdaUtil.unary(Predicate4<? super T1,? super T2,? super T3,? super T4> pred)
Treat a Predicate4 as a unary predicate accepting a Quad argument. |
|
static
|
LambdaUtil.unary(Runnable4<? super T1,? super T2,? super T3,? super T4> runnable)
Treat a Runnable4 as a Runnable1 accepting a Quad argument. |
|
| Method parameters in edu.rice.cs.plt.lambda with type arguments of type Quad | ||
|---|---|---|
static
|
LambdaUtil.flatten4(Lambda<? super Quad<T1,T2,T3,T4>,? extends R> lambda)
Treat a lambda accepting a Quad argument as a Lambda4. |
|
static
|
LambdaUtil.flatten4(Predicate<? super Quad<T1,T2,T3,T4>> pred)
Treat a predicate accepting a Quad argument as a Predicate4. |
|
static
|
LambdaUtil.flatten4(Runnable1<? super Quad<T1,T2,T3,T4>> runnable)
Treat a runnable accepting a Quad argument as a Runnable4. |
|
| Uses of Quad in edu.rice.cs.plt.recur |
|---|
| Method parameters in edu.rice.cs.plt.recur with type arguments of type Quad | ||
|---|---|---|
static
|
RecursionStack4.make(Lambda4<? super T1,? super T2,? super T3,? super T4,? extends Quad<T1,T2,T3,T4>> quadFactory)
Call the constructor (allows the type arguments to be inferred) |
|
static
|
PrecomputedRecursionStack4.make(Lambda4<? super T1,? super T2,? super T3,? super T4,? extends Quad<T1,T2,T3,T4>> quadFactory)
Call the constructor (allows the type arguments to be inferred) |
|
| Constructor parameters in edu.rice.cs.plt.recur with type arguments of type Quad | |
|---|---|
PrecomputedRecursionStack4(Lambda4<? super T1,? super T2,? super T3,? super T4,? extends Quad<T1,T2,T3,T4>> quadFactory)
Create an empty recursion stack with the given Quad factory |
|
RecursionStack4(Lambda4<? super T1,? super T2,? super T3,? super T4,? extends Quad<T1,T2,T3,T4>> quadFactory)
Create an empty recursion stack with the given Quad factory |
|
| Uses of Quad in edu.rice.cs.plt.text |
|---|
| Methods in edu.rice.cs.plt.text that return Quad | |
|---|---|
Quad<String,String,String,String> |
ArgumentParser.Result.getQuaternaryOption(String opt)
Get the 4 arguments associated with the given option, or null if it is undefined
or has a different number of arguments. |
| Uses of Quad in edu.rice.cs.plt.tuple |
|---|
| Subclasses of Quad in edu.rice.cs.plt.tuple | |
|---|---|
class |
IdentityQuad<T1,T2,T3,T4>
A quad that defines IdentityQuad.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 Quad | ||
|---|---|---|
static
|
Quad.make(T1 first,
T2 second,
T3 third,
T4 fourth)
Call the constructor (allows the type arguments to be inferred) |
|
| Methods in edu.rice.cs.plt.tuple that return types with arguments of type Quad | ||
|---|---|---|
static
|
Quad.factory()
Produce a lambda that invokes the constructor |
|
static
|
IdentityQuad.factory()
Produce a lambda that invokes the constructor |
|
static
|
Quad.firstGetter()
Produce a lambda that invokes first() on a provided quad. |
|
static
|
Quad.fourthGetter()
Produce a lambda that invokes fourth() on a provided quad. |
|
static
|
Quad.secondGetter()
Produce a lambda that invokes second() on a provided quad. |
|
static
|
Quad.thirdGetter()
Produce a lambda that invokes third() on a provided quad. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||