java.lang.Object
org.springframework.shell.test.jediterm.terminal.util.Pair<A,B>
public class Pair<A,B>
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
boolean
static <T> T
static <T> T
int
-
-
Constructor Details
-
Pair
public Pair(A first,
B second)
-
Method Details
-
create
public static <A,
B> Pair<A,B> create(A first,
B second)
-
getFirst
public static <T> T getFirst(Pair<T,?> pair)
-
getSecond
public static <T> T getSecond(Pair<?,T> pair)
-
empty
public static <A,
B> Pair<A,B> empty()
-
getFirst
public final A getFirst()
-
getSecond
public final B getSecond()
-
-
-