Home » openjdk-7 » java » io » [javadoc | source]
static class: ObjectOutputStream.HandleTable [javadoc | source]
Lightweight identity hash table which maps objects to integer handles, assigned in ascending order.
 HandleTable(int initialCapacity,
    float loadFactor) 
Method from java.io.ObjectOutputStream$HandleTable Summary:
assign,   clear,   lookup,   size
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.io.ObjectOutputStream$HandleTable Detail:
 int assign(Object obj) 
    Assigns next available handle to given object, and returns handle value. Handles are assigned in ascending order starting at 0.
  void clear() 
    Resets table to its initial (empty) state.
 int lookup(Object obj) 
    Looks up and returns handle associated with given object, or -1 if no mapping found.
 int size() 
    Returns the number of mappings currently in table.