public final class Pair<L,R> extends Object implements Map.Entry<L,R>, Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
L |
getKey() |
L |
getLeft() |
R |
getRight() |
R |
getValue() |
int |
hashCode() |
static <L,R> Pair<L,R> |
of(L left,
R right) |
void |
setLeft(L left) |
R |
setRight(R right) |
R |
setValue(R value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.