ral.util
Class AbstractPair<FROM,TO>

java.lang.Object
  extended by ral.util.AbstractPair<FROM,TO>
All Implemented Interfaces:
Pair<FROM,TO>

public abstract class AbstractPair<FROM,TO>
extends java.lang.Object
implements Pair<FROM,TO>


Constructor Summary
AbstractPair(FROM x, TO y)
           
 
Method Summary
abstract  Pair<FROM,TO> clone(FROM f, TO t)
           
 FROM from()
           
 int hashCode()
           
 TO to()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPair

public AbstractPair(FROM x,
                    TO y)
Method Detail

from

public final FROM from()
Specified by:
from in interface Pair<FROM,TO>

to

public final TO to()
Specified by:
to in interface Pair<FROM,TO>

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public abstract Pair<FROM,TO> clone(FROM f,
                                    TO t)
Specified by:
clone in interface Pair<FROM,TO>