com.uwyn.rife.datastructures
Class Pair<FirstType,SecondType>
java.lang.Object
com.uwyn.rife.datastructures.Pair<FirstType,SecondType>
- All Implemented Interfaces:
- Cloneable
public class Pair<FirstType,SecondType>
- extends Object
- implements Cloneable
Pair
public Pair()
Pair
public Pair(FirstType first,
SecondType second)
getFirst
public FirstType getFirst()
setFirst
public void setFirst(FirstType first)
getSecond
public SecondType getSecond()
setSecond
public void setSecond(SecondType second)
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
clone
public Pair clone()
throws CloneNotSupportedException
- Overrides:
clone in class Object
- Throws:
CloneNotSupportedException
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.