|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.walend.lyophil.collection.FreezableIdentitor
An Identitor for Freezables.
| Constructor Summary | |
FreezableIdentitor()
|
|
| Method Summary | |
boolean |
equals(java.lang.Object ob1,
java.lang.Object ob2)
If two Freezables have equal identifiers, this method returns true. |
int |
hashCode(java.lang.Object ob1)
If the Object is null, returns 0. |
boolean |
valueEquals(java.lang.Object ob1,
java.lang.Object ob2)
If two Freezables have equal identifiers, this method returns true. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FreezableIdentitor()
| Method Detail |
public boolean equals(java.lang.Object ob1,
java.lang.Object ob2)
equals in interface Identitora - ClassCastException if either Object is not a Freezable.public int hashCode(java.lang.Object ob1)
hashCode in interface Identitorjava.lang.ClassCastException - if ob1 is not a Freezable.
public boolean valueEquals(java.lang.Object ob1,
java.lang.Object ob2)
valueEquals in interface Identitora - ClassCastException if either Object is not a Freezable.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||