|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Order | |
|---|---|
| edu.rice.cs.plt.collect | Contains general-purpose extensions to and variations on the java.util collections
framework. |
| Uses of Order in edu.rice.cs.plt.collect |
|---|
| Classes in edu.rice.cs.plt.collect that implement Order | |
|---|---|
class |
TotalOrder<T>
A Comparator that implements Order. |
| Fields in edu.rice.cs.plt.collect declared as Order | |
|---|---|
static Order<String> |
CollectUtil.STRING_PREFIX_ORDER
A partial order checking whether the first element is a prefix of the second; implemented with String.contains(java.lang.CharSequence). |
static Order<Iterable<?>> |
CollectUtil.SUBSET_ORDER
A partial order checking whether the first element is a subset of the second; implemented with IterUtil.containsAll(java.lang.Iterable>, java.lang.Iterable>) and Collection.containsAll(java.util.Collection>). |
static Order<String> |
CollectUtil.SUBSTRING_ORDER
A partial order checking whether the first element is a substring of the second; implemented with String.contains(java.lang.CharSequence). |
| Methods in edu.rice.cs.plt.collect that return Order | ||
|---|---|---|
static
|
CollectUtil.inverse(Order<? super T> ord)
Create an inverse of the given order. |
|
| Methods in edu.rice.cs.plt.collect with parameters of type Order | ||
|---|---|---|
static
|
CollectUtil.composeMaxLists(Iterable<? extends T> vals1,
Iterable<? extends T> vals2,
Order<? super T> order)
Get the maximal elements of the given lists, each known to be a list of maximal elements, based on the given order. |
|
static
|
CollectUtil.composeMinLists(Iterable<? extends T> vals1,
Iterable<? extends T> vals2,
Order<? super T> order)
Get the minimal elements of the given lists, each known to be a list of minimal elements, based on the given order. |
|
static
|
CollectUtil.inverse(Order<? super T> ord)
Create an inverse of the given order. |
|
static
|
CollectUtil.maxList(Iterable<? extends T> vals,
Order<? super T> order)
Get the maximal elements of the given list, based on the given order. |
|
static
|
CollectUtil.minList(Iterable<? extends T> vals,
Order<? super T> order)
Get the minimal elements of the given list, based on the given order. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||