L - left item typeR - right item typepublic class Pair<L,R>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
L |
left
Left data item.
|
R |
right
Right data item.
|
| Constructor and Description |
|---|
Pair(L left,
R right)
Create a new pair.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object otherObj) |
int |
hashCode() |
java.lang.String |
toString() |