JClass DesktopViews 6.3.0 API
Documentation

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.


Constructor Summary
TreeWithSortableChildren.HashObject(Object obj)
           
 
Method Summary
 boolean equals(Object ho)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeWithSortableChildren.HashObject

public TreeWithSortableChildren.HashObject(Object obj)
Method Detail

equals

public boolean equals(Object ho)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Copyright © 2004 Quest Software Inc..
All rights reserved.