edu.ksu.cis.projects.bogor.util
Class Pair<E1,E2>

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.util.Pair<E1,E2>

public class Pair<E1,E2>
extends Object

Type-parametric 2-tuple class.

Version:
CVS $Revision: 1.3 $ $Date: 2005/05/14 20:16:37 $
Author:
Matt Hoosier

Field Summary
 E1 first
           
 E2 second
           
 
Constructor Summary
Pair(E1 first, E2 second)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

first

public final E1 first

second

public final E2 second
Constructor Detail

Pair

public Pair(E1 first,
            E2 second)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object