com.uwyn.rife.datastructures
Class Pair<FirstType,SecondType>

java.lang.Object
  extended by com.uwyn.rife.datastructures.Pair<FirstType,SecondType>
All Implemented Interfaces:
Cloneable

public class Pair<FirstType,SecondType>
extends Object
implements Cloneable


Constructor Summary
Pair()
           
Pair(FirstType first, SecondType second)
           
 
Method Summary
 Pair clone()
           
 boolean equals(Object other)
           
 FirstType getFirst()
           
 SecondType getSecond()
           
 int hashCode()
           
 void setFirst(FirstType first)
           
 void setSecond(SecondType second)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair()

Pair

public Pair(FirstType first,
            SecondType second)
Method Detail

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.