org.xerial.util
Class Pair<X,Y>

java.lang.Object
  extended by 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)
           
 
Method Summary
 X getFirst()
           
 Y getSecond()
           
 void setFirst(X x)
           
 void setSecond(Y y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair(X x,
            Y y)
Method Detail

getFirst

public X getFirst()

getSecond

public Y getSecond()

setFirst

public void setFirst(X x)

setSecond

public void setSecond(Y y)


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