|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ckkloverdos.tuple.TupleSkeleton
public abstract class TupleSkeleton
An abstract class implementing equals(Object) and hashCode().
A tuple implementation should override TupleSkeleton, so that
these two methods have consistent behaviour.
| Constructor Summary | |
|---|---|
TupleSkeleton()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares for equality. |
int |
hashCode()
Returns the hash code value for this tuple. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ckkloverdos.tuple.ITuple |
|---|
get, isEmpty, isNull, size |
| Constructor Detail |
|---|
public TupleSkeleton()
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
obj iff
the following conditions simultaneously hold:
obj is also a ITuple.
equals in class java.lang.Objectobj - 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 | |||||||||