jumbo.xml.util
Interface XHashtable

All Known Implementing Classes:
XHashtableImpl

public interface XHashtable

extensions to java.util.Hashtable such as boolean operations


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 - return new XHashtable which contains references to objects
 boolean containsKey(java.lang.Object obj)
          from Hashtable
 java.util.Enumeration keys()
          from Hashtable
 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.
 int size()
          from Hashtable
 XHashtable xor(XHashtable xHashtable)
          combines this with xHashtable to find elements NOT in common, else null.
 

Method Detail

and

public XHashtable and(XHashtable xHashtable)
combines this with xHashtable to find common elements, else null.

xor

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

not

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

or

public XHashtable or(XHashtable xHashtable)
combines this with xHashtable to find all elements.

add

public void add(java.lang.Object obj)
adds an object as key with irrelevant value

clone

public java.lang.Object clone()
shallow clone - return new XHashtable which contains references to objects
Overrides:
clone in class java.lang.Object

containsKey

public boolean containsKey(java.lang.Object obj)
from Hashtable

keys

public java.util.Enumeration keys()
from Hashtable

size

public int size()
from Hashtable