|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.plt.tuple.Tuple
public abstract class Tuple
Abstract parent of all tuple classes, providing lazy evaluation of the hash code. See the package documentation for general discussion of the tuple classes.
As a wrapper for arbitrary objects, instances of this class will serialize without error only if the wrapped objects are serializable.
| Constructor Summary | |
|---|---|
protected |
Tuple()
|
| Method Summary | |
|---|---|
protected abstract int |
generateHashCode()
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Tuple()
| Method Detail |
|---|
protected abstract int generateHashCode()
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||