DATA1TYPE - First type.DATA2TYPE - Second type.@Immutable public final class ReadOnlyPair<DATA1TYPE,DATA2TYPE> extends Object implements IPair<DATA1TYPE,DATA2TYPE>
Wrapper.| Constructor and Description |
|---|
ReadOnlyPair(IPair<? extends DATA1TYPE,? extends DATA2TYPE> rhs) |
ReadOnlyPair(T2 aFirst,
U2 aSecond) |
| Modifier and Type | Method and Description |
|---|---|
static <T,U> ReadOnlyPair<T,U> |
create(T aFirst,
U aSecond) |
boolean |
equals(Object o) |
DATA1TYPE |
getFirst() |
DATA2TYPE |
getSecond() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComparatorFirst, getComparatorSecondCopyright © 2014–2016 Philip Helger. All rights reserved.