public final class ImmutablePair<A,B>
extends Pair<A,B>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ImmutablePair
public ImmutablePair(A left,
B right)
-
Method Details
-
of
public static <A,
B> Pair<A,B> of(Pair<A,B> pair)
-
setLeft
public void setLeft(A left)
- Overrides:
setLeft in class Pair<A,B>
-
setRight
public void setRight(B right)
- Overrides:
setRight in class Pair<A,B>