Uses of Interface
org.planx.util.Pair

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
<T,S,P extends Pair<T,S>>
Extractor<P,T,S>
Discriminators.pairExtractor()
          Returns an Extractor that extracts the first component of a Pair as the label and the second component as the value.
static
<T,P extends Pair<T,?>>
Extractor<P,T,P>
Discriminators.pairFirstExtractor()
          Returns an Extractor that extracts the first component of a Pair as the label and the whole pair as the value.
static
<T,S,P extends Pair<T,S>>
Extractor<P,S,T>
Discriminators.pairFlipExtractor()
          Returns an Extractor that extracts the first component of a Pair as the value and the second component as the label.
static
<S,P extends Pair<?,S>>
Extractor<P,S,P>
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
<U,E,S> List<Pair<List<E>,S>>
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
<U,S> Collection<List<S>>
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
<E> List<Pair<E,E>>
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
<E> List<Pair<E,E>>
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
<E,F> List<Pair<E,F>>
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
<E,F> List<Pair<E,F>>
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
<E,F> List<E>
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
<E,F> List<F>
Pairs.retainSecond(List<? extends Pair<? extends E,? extends F>> pairs)
          Returns a List containing only the second components of the specified List of Pairs.
 



Copyright © 2010. All Rights Reserved.