org.xmlcml.tools
Class ToolHashSetImpl
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractSet
|
+--java.util.HashSet
|
+--org.xmlcml.tools.ToolHashSetImpl
- Direct Known Subclasses:
- AtomSetImpl, BondSetImpl
- public class ToolHashSetImpl
- extends java.util.HashSet
- implements ToolHashSet, java.lang.Cloneable
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashSet |
add,
clear,
contains,
isEmpty,
iterator,
remove,
size |
| Methods inherited from class java.util.AbstractSet |
equals,
hashCode |
| Methods inherited from class java.util.AbstractCollection |
addAll,
containsAll,
removeAll,
retainAll,
toArray,
toArray,
toString |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
ToolHashSetImpl
public ToolHashSetImpl()
debug
public void debug()
- Specified by:
- debug in interface ToolHashSet
and
public ToolHashSet and(ToolHashSet h)
- Description copied from interface: ToolHashSet
- ToolHashSet containing elements common to this and h
- Specified by:
- and in interface ToolHashSet
- Tags copied from interface: ToolHashSet
- Returns:
- ToolHashSet union of this/h
or
public ToolHashSet or(ToolHashSet h)
- Description copied from interface: ToolHashSet
- ToolHashSet containing elements in either this and h
- Specified by:
- or in interface ToolHashSet
- Tags copied from interface: ToolHashSet
- Returns:
- ToolHashSet
not
public ToolHashSet not(ToolHashSet h)
- Description copied from interface: ToolHashSet
- ToolHashSet containing elements in this but not h
- Specified by:
- not in interface ToolHashSet
- Tags copied from interface: ToolHashSet
- Returns:
- ToolHashSet
xor
public ToolHashSet xor(ToolHashSet h)
- Description copied from interface: ToolHashSet
- ToolHashSet containing elements in this or h but not both
- Specified by:
- xor in interface ToolHashSet
- Tags copied from interface: ToolHashSet
- Returns:
- ToolHashSet
clone
public java.lang.Object clone()
- shallow clone; errors return null
- Specified by:
- clone in interface ToolHashSet
- Overrides:
- clone in class java.util.HashSet
main
public static void main(java.lang.String[] args)