Home » openjdk-7 » java » io » [javadoc | source]
static class: ObjectOutputStream.ReplaceTable [javadoc | source]
Lightweight identity hash table which maps objects to replacement objects.
 ReplaceTable(int initialCapacity,
    float loadFactor) 
Method from java.io.ObjectOutputStream$ReplaceTable 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$ReplaceTable Detail:
  void assign(Object obj,
    Object rep) 
    Enters mapping from object to replacement object.
  void clear() 
    Resets table to its initial (empty) state.
 Object lookup(Object obj) 
    Looks up and returns replacement for given object. If no replacement is found, returns the lookup object itself.
 int size() 
    Returns the number of mappings currently in table.