Home » openjdk-7 » java » io » [javadoc | source]
java.io
static class: ObjectOutputStream.ReplaceTable [javadoc | source]
java.lang.Object
   java.io.ObjectOutputStream$ReplaceTable
Lightweight identity hash table which maps objects to replacement objects.
Constructor:
 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.