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.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.