| Package | Description |
|---|---|
| com.helger.commons.collection.pair |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IMutablePair<DATA1TYPE,DATA2TYPE>
Interface for a writable pair.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Pair<DATA1TYPE,DATA2TYPE>
A generic pair class.
|
class |
ReadOnlyPair<DATA1TYPE,DATA2TYPE>
A generic pair class.
|
| Modifier and Type | Method and Description |
|---|---|
static <V1 extends Comparable<? super V1>,V2> |
PairHelper.getSortedByPairFirst(Collection<? extends IPair<V1,V2>> aList) |
static <V1,V2 extends Comparable<? super V2>> |
PairHelper.getSortedByPairSecond(Collection<? extends IPair<V1,V2>> aList) |
| Modifier and Type | Method and Description |
|---|---|
protected DATA2TYPE |
ComparatorPairSecondComparable.getPart(IPair<DATA1TYPE,DATA2TYPE> aObject) |
protected DATA1TYPE |
ComparatorPairFirstComparable.getPart(IPair<DATA1TYPE,DATA2TYPE> aObject) |
| Modifier and Type | Method and Description |
|---|---|
static <V1 extends Comparable<? super V1>,V2> |
PairHelper.getSortedByPairFirst(Collection<? extends IPair<V1,V2>> aList) |
static <V1,V2 extends Comparable<? super V2>> |
PairHelper.getSortedByPairSecond(Collection<? extends IPair<V1,V2>> aList) |
| Constructor and Description |
|---|
Pair(IPair<? extends DATA1TYPE,? extends DATA2TYPE> rhs) |
ReadOnlyPair(IPair<? extends DATA1TYPE,? extends DATA2TYPE> rhs) |
Copyright © 2014–2015 Philip Helger. All rights reserved.