| Package | Description |
|---|---|
| com.phloc.commons.collections.pair | |
| com.phloc.commons.convert |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IPair<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 <T,U> IReadonlyPair<T,U> |
ReadonlyPair.create(T aFirst,
U aSecond) |
| Modifier and Type | Method and Description |
|---|---|
static <V1 extends Comparable<? super V1>,V2> |
PairUtils.getSortedByPairFirst(Collection<? extends IReadonlyPair<V1,V2>> aList) |
static <V1,V2 extends Comparable<? super V2>> |
PairUtils.getSortedByPairSecond(Collection<? extends IReadonlyPair<V1,V2>> aList) |
| Modifier and Type | Method and Description |
|---|---|
protected DATA2TYPE |
ComparatorPairSecond.getPart(IReadonlyPair<DATA1TYPE,DATA2TYPE> aObject) |
protected DATA1TYPE |
ComparatorPairFirst.getPart(IReadonlyPair<DATA1TYPE,DATA2TYPE> aObject) |
| Modifier and Type | Method and Description |
|---|---|
static <V1 extends Comparable<? super V1>,V2> |
PairUtils.getSortedByPairFirst(Collection<? extends IReadonlyPair<V1,V2>> aList) |
static <V1,V2 extends Comparable<? super V2>> |
PairUtils.getSortedByPairSecond(Collection<? extends IReadonlyPair<V1,V2>> aList) |
| Constructor and Description |
|---|
Pair(IReadonlyPair<? extends DATA1TYPE,? extends DATA2TYPE> rhs) |
ReadonlyPair(IReadonlyPair<? extends DATA1TYPE,? extends DATA2TYPE> rhs) |
| Modifier and Type | Method and Description |
|---|---|
DATA2TYPE |
UnidirectionalConverterPairSecond.convert(IReadonlyPair<DATA1TYPE,DATA2TYPE> aPair) |
DATA1TYPE |
UnidirectionalConverterPairFirst.convert(IReadonlyPair<DATA1TYPE,DATA2TYPE> aPair) |
Copyright © 2006–2015 phloc systems. All rights reserved.