edu.ksu.cis.projects.bogor.util
Class Pair<E1,E2>
java.lang.Object
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
Constructor Summary |
Pair(E1 first,
E2 second)
|
first
public final E1 first
second
public final E2 second
Pair
public Pair(E1 first,
E2 second)
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