public class Pair<X,Y>
extends java.lang.Object
implements java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
Pair() |
|
Pair(X x,
Y y) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
X |
getX()
Returns the first value of the pair.
|
Y |
getY()
Returns the second value of the pair.
|
int |
hashCode() |
java.lang.String |
toString() |
public X getX()
public Y getY()
public final boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005-2024 Potix Corporation. All Rights Reserved.