public class Pair<L,R> extends Object
Constructor and Description |
---|
Pair(L left,
R right)
Constructor for Pair.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherObj) |
protected static boolean |
equalsHelper(Object o1,
Object o2) |
static <L,R> Pair<L,R> |
factory(L left,
R right)
Factory method.
|
int |
hashCode() |
protected static int |
hashCodeHelper(Object o1) |
String |
toString() |
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.