Rice Pastry API

rice.p2p.util.tuples
Class Tuple<A,B>

java.lang.Object
  extended by rice.p2p.util.tuples.Tuple<A,B>
Direct Known Subclasses:
MutableTuple

public class Tuple<A,B>
extends java.lang.Object


Field Summary
protected  A a
           
protected  B b
           
 
Constructor Summary
Tuple(A a, B b)
           
 
Method Summary
 A a()
           
 B b()
           
 boolean equals(java.lang.Object obj)
          Gotta handle null values
 int hashCode()
          Gotta handle null values.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

protected A a

b

protected B b
Constructor Detail

Tuple

public Tuple(A a,
             B b)
Method Detail

a

public A a()

b

public B b()

equals

public boolean equals(java.lang.Object obj)
Gotta handle null values

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Gotta handle null values.

Overrides:
hashCode in class java.lang.Object

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection