L - the type parameterR - the type parameterpublic class BasicPair<L,R> extends Pair<L,R>
| Modifier and Type | Method and Description |
|---|---|
static <L,R> BasicPair<L,R> |
copyOf(Map.Entry<L,R> source)
Copy of.
|
boolean |
equals(Object obj) |
L |
getLeft()
Gets left.
|
R |
getRight()
Gets right.
|
int |
hashCode()
Generates hash code conforming with
Map.Entry.hashCode() specification. |
static <L,R> BasicPair<L,R> |
of(L left,
R right)
Of basic pair.
|
L |
setKey(L key)
Sets key.
|
L |
setLeft(L lt)
Sets left.
|
R |
setRight(R rt)
Sets right.
|
R |
setValue(R value) |
getKey, getValue, immutable, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic static <L,R> BasicPair<L,R> of(L left, R right)
L - the type parameterR - the type parameterleft - the leftright - the rightpublic static <L,R> BasicPair<L,R> copyOf(Map.Entry<L,R> source)
L - the type parameterR - the type parametersource - the sourcepublic int hashCode()
PairMap.Entry.hashCode() specification.Copyright © 2014 Boleslav Bobcik - Auderis. All rights reserved.