jumbo.xml.util
Class XHashtableImpl

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--jumbo.xml.util.XHashtableImpl

public class XHashtableImpl
extends java.util.Hashtable
implements XHashtable

extensions to java.util.Hashtable such as boolean operations

See Also:
Serialized Form

Constructor Summary
XHashtableImpl()
           
 
Method Summary
 void add(java.lang.Object obj)
          adds an object as key with irrelevant value
 XHashtable and(XHashtable xHashtable)
          combines this with xHashtable to find common elements, else null.
 java.lang.Object clone()
          shallow clone a new XHashtable which contains references to objects
static void main(java.lang.String[] args)
           
 XHashtable not(XHashtable xHashtable)
          combines this with xHashtable to find elements NOT in xHashtable, else null.
 XHashtable or(XHashtable xHashtable)
          combines this with xHashtable to find all elements.
 XHashtable xor(XHashtable xHashtable)
          combines this with xHashtable to find elements NOT in common, else null.
 
Methods inherited from class java.util.Hashtable
clear, 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

XHashtableImpl

public XHashtableImpl()
Method Detail

and

public XHashtable and(XHashtable xHashtable)
combines this with xHashtable to find common elements, else null.
Specified by:
and in interface XHashtable

xor

public XHashtable xor(XHashtable xHashtable)
combines this with xHashtable to find elements NOT in common, else null.
Specified by:
xor in interface XHashtable

not

public XHashtable not(XHashtable xHashtable)
combines this with xHashtable to find elements NOT in xHashtable, else null.
Specified by:
not in interface XHashtable

or

public XHashtable or(XHashtable xHashtable)
combines this with xHashtable to find all elements.
Specified by:
or in interface XHashtable

add

public void add(java.lang.Object obj)
Description copied from interface: XHashtable
adds an object as key with irrelevant value
Specified by:
add in interface XHashtable

clone

public java.lang.Object clone()
shallow clone a new XHashtable which contains references to objects
Specified by:
clone in interface XHashtable
Overrides:
clone in class java.util.Hashtable

main

public static void main(java.lang.String[] args)