com.klg.jclass.util.treetable
Class TreeWithSortableChildren.HashObject
java.lang.Object
|
+--com.klg.jclass.util.treetable.TreeWithSortableChildren.HashObject
- Enclosing class:
- TreeWithSortableChildren
- public static class TreeWithSortableChildren.HashObject
- extends Object
Guarantees that the object that you are hashing will compare uniquely
only to the object being stored therein. We use a weak reference to
make sure that we are never holding on to the object.
TreeWithSortableChildren.HashObject
public TreeWithSortableChildren.HashObject(Object obj)
equals
public boolean equals(Object ho)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object