@Immutable public final class PairHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static <V1 extends Comparable<? super V1>,V2> |
getSortedByPairFirst(Collection<? extends IPair<V1,V2>> aList) |
static <V1,V2 extends Comparable<? super V2>> |
getSortedByPairSecond(Collection<? extends IPair<V1,V2>> aList) |
@Nonnull @ReturnsMutableCopy public static <V1 extends Comparable<? super V1>,V2> List<IPair<V1,V2>> getSortedByPairFirst(@Nonnull Collection<? extends IPair<V1,V2>> aList)
@Nonnull @ReturnsMutableCopy public static <V1,V2 extends Comparable<? super V2>> List<IPair<V1,V2>> getSortedByPairSecond(@Nonnull Collection<? extends IPair<V1,V2>> aList)
Copyright © 2014–2015 Philip Helger. All rights reserved.