public class Pair<L,R>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.List<L> |
asList()
If the left and right members of the pair have the same type, return a list of the members.
|
static <A,B> Pair<A,B> |
create(A left,
B right) |
static boolean |
equal(java.lang.Object o1,
java.lang.Object o2) |
boolean |
equals(java.lang.Object o) |
L |
getLeft() |
R |
getRight() |
int |
hashCode() |
java.lang.String |
toString() |
public R getRight()
public L getLeft()
public static <A,B> Pair<A,B> create(A left, B right)
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static final boolean equal(java.lang.Object o1, java.lang.Object o2)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<L> asList()
ORO is a part of the OpenRobots framework.
openrobots@laas.fr
LAAS-CNRS 2009-2011