Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.