jumbo.euclid
Class Int2RangeHashtable

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--jumbo.euclid.Int2RangeHashtable

public class Int2RangeHashtable
extends java.util.Hashtable

Hashtable indexed by boxes, which return an object when a box contains a point (i.e. is clicked). Order of boxes means that first one found wins

See Also:
Serialized Form

Constructor Summary
Int2RangeHashtable()
           
 
Method Summary
 java.lang.Object getObject(int xx, int yy)
          return the Object indexed by the box in which the point lies.
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Int2RangeHashtable

public Int2RangeHashtable()
Method Detail

getObject

public java.lang.Object getObject(int xx,
                                  int yy)
return the Object indexed by the box in which the point lies. If not found, return null;