|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Pair | |
|---|---|
| org.planx.msd | |
| org.planx.msd.graph | |
| org.planx.msd.util | |
| org.planx.util | |
| Uses of Pair in org.planx.msd |
|---|
| Methods in org.planx.msd with type parameters of type Pair | ||
|---|---|---|
static
|
Discriminators.pairExtractor()
Returns an Extractor that extracts the first component
of a Pair as the label and the second component as the
value. |
|
static
|
Discriminators.pairFirstExtractor()
Returns an Extractor that extracts the first component
of a Pair as the label and the whole pair as the value. |
|
static
|
Discriminators.pairFlipExtractor()
Returns an Extractor that extracts the first component
of a Pair as the value and the second component as the
label. |
|
static
|
Discriminators.pairSecondExtractor()
Returns an Extractor that extracts the second component
of a Pair as the label and the whole pair as the value. |
|
| Uses of Pair in org.planx.msd.graph |
|---|
| Classes in org.planx.msd.graph that implement Pair | |
|---|---|
class |
TemplateNode<N,L>
|
class |
TemplateNode.Pointer
|
| Uses of Pair in org.planx.msd.util |
|---|
| Methods in org.planx.msd.util that return types with arguments of type Pair | ||
|---|---|---|
static
|
WeakSorter.sortLists(Discriminator<E> d,
List<? extends U> values,
Extractor<U,? extends List<E>,S> e,
boolean doRemoveDuplicates)
Sorts a multiset of lists and returns a list of pairs, where the first component is a sorted list, and the second component is the corresponding original list. |
|
| Method parameters in org.planx.msd.util with type arguments of type Pair | ||
|---|---|---|
|
PairDiscriminator.discriminate(List<? extends U> values,
Extractor<U,? extends Pair<A,B>,S> e)
|
|
| Uses of Pair in org.planx.util |
|---|
| Classes in org.planx.util that implement Pair | |
|---|---|
class |
Association<T,S>
A mutable implementation of Pair. |
| Methods in org.planx.util that return types with arguments of type Pair | ||
|---|---|---|
static
|
Pairs.identityPairs(E[] values)
Returns a List of Pairs where the two components
the ith element return the value of the ith element of
values. |
|
static
|
Pairs.identityPairs(List<? extends E> values)
Returns a List of Pairs where the two components
the ith element return the value of the ith element of
values. |
|
static
|
Pairs.mergePairs(E[] labels,
F[] values)
Returns a List of Pairs where the first component
of the ith element returns the value of the ith element of
labels and the second component of the ith element
returns the value of the ith element of values. |
|
static
|
Pairs.mergePairs(List<? extends E> labels,
List<? extends F> values)
Returns a List of Pairs where the first component
of the ith element returns the value of the ith element of
labels and the second component of the ith element
returns the value of the ith element of values. |
|
| Method parameters in org.planx.util with type arguments of type Pair | ||
|---|---|---|
static
|
Pairs.retainFirst(List<? extends Pair<? extends E,? extends F>> pairs)
Returns a List containing only the first components of the specified
List of Pairs. |
|
static
|
Pairs.retainSecond(List<? extends Pair<? extends E,? extends F>> pairs)
Returns a List containing only the second components of the specified
List of Pairs. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||