|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TotalOrder | |
|---|---|
| edu.rice.cs.plt.collect | Contains general-purpose extensions to and variations on the java.util collections
framework. |
| edu.rice.cs.plt.tuple | Classes for the type-parameterized representation of tuples. |
| Uses of TotalOrder in edu.rice.cs.plt.collect |
|---|
| Methods in edu.rice.cs.plt.collect that return TotalOrder | ||
|---|---|---|
static
|
CollectUtil.asTotalOrder(Comparator<? super T> comp)
Wrap a Comparator as a TotalOrder. |
|
static
|
CollectUtil.inverse(Comparator<? super T> ord)
Create an inverse of the given comparator (or TotalOrder). |
|
static
|
CollectUtil.naturalOrder()
Get a TotalOrder based on the natural (compareTo-based) order associated with the given type. |
|
| Uses of TotalOrder in edu.rice.cs.plt.tuple |
|---|
| Methods in edu.rice.cs.plt.tuple that return TotalOrder | ||
|---|---|---|
static
|
Pair.comparator()
Produce a comparator for pairs, ordered by the natural order of the elements (the leftmost elements have the highest sort priority). |
|
static
|
Triple.comparator()
Produce a comparator for triples, ordered by the natural order of the elements (the leftmost elements have the highest sort priority). |
|
static
|
Quad.comparator()
Produce a comparator for quads, ordered by the natural order of the elements (the leftmost elements have the highest sort priority). |
|
static
|
Option.comparator()
Produce a comparator for options, ordered by the natural order of the elements with "none" values at the front. |
|
static
|
Option.comparator(Comparator<? super T> comp)
Produce a comparator for options, ordered by the given comparator with "none" values at the front. |
|
static
|
Pair.comparator(Comparator<? super T1> comp1,
Comparator<? super T2> comp2)
Produce a comparator for pairs, ordered by the given comparators (the leftmost elements have the highest sort priority). |
|
static
|
Triple.comparator(Comparator<? super T1> comp1,
Comparator<? super T2> comp2,
Comparator<? super T3> comp3)
Produce a comparator for triples, ordered by the given comparators (the leftmost elements have the highest sort priority). |
|
static
|
Quad.comparator(Comparator<? super T1> comp1,
Comparator<? super T2> comp2,
Comparator<? super T3> comp3,
Comparator<? super T4> comp4)
Produce a comparator for quads, ordered by the given comparators (the leftmost elements have the highest sort priority). |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||