org.xerial.util
Class Pair<X,Y>
java.lang.Object
org.xerial.util.Pair<X,Y>
- Direct Known Subclasses:
- MinMax
public class Pair<X,Y>
- extends Object
Pair of two objects
- Author:
- leo
|
Constructor Summary |
Pair(X x,
Y y)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pair
public Pair(X x,
Y y)
getFirst
public X getFirst()
getSecond
public Y getSecond()
setFirst
public void setFirst(X x)
setSecond
public void setSecond(Y y)

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.