lapisx.util
Class MergingHashtable

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended bylapisx.util.MergingHashtable
All Implemented Interfaces:
Cloneable, Map, Serializable

public abstract class MergingHashtable
extends Hashtable

Subclass of Hashtable that supports merging the existing object stored in the hashtable with a new object.

See Also:
Serialized Form

Constructor Summary
MergingHashtable()
           
 
Method Summary
 Object add(Object key, Object value)
           
protected abstract  Object merge(Object current, Object addition)
           
 
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

MergingHashtable

public MergingHashtable()
Method Detail

add

public Object add(Object key,
                  Object value)

merge

protected abstract Object merge(Object current,
                                Object addition)