public class Pair<F,S>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
F |
getFirst() |
S |
getSecond() |
int |
hashCode() |
<F2> @NonNull Pair<F2,S> |
mapFirst(java.util.function.Function<F,F2> f) |
<S2> @NonNull Pair<F,S2> |
mapSecond(java.util.function.Function<S,S2> f) |
java.lang.String |
toString() |
public final F getFirst()
public final S getSecond()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object