public class Pair<A,B>
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
-
-
Constructor Details
-
Pair
public Pair(A first,
B second)
-
Method Details
-
of
public static <A,
B> Pair<A,B> of(A first,
B second)
-
-
withFirst
public <R> Pair<R,B> withFirst(R newValue)
-
withSecond
public <R> Pair<A,R> withSecond(R newValue)
-
-
-
-
-