|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oxygenxml.validate.nvdl.Hashset
class Hashset
Utility class, stores a set of objects. It uses a Hashtable for internal storage.
| Field Summary | |
|---|---|
private Hashtable |
table
The internal storage, a hashtable. |
| Constructor Summary | |
|---|---|
Hashset()
|
|
| Method Summary | |
|---|---|
(package private) void |
add(Object key)
Adds an object to this set. |
(package private) void |
addAll(Hashset set)
Adds all the objects from another set to this set - union. |
(package private) void |
clear()
Removes all the objects from this set. |
(package private) boolean |
contains(Object key)
Test if an object belongs to this set or not. |
(package private) Enumeration |
members()
Get an enumeration will all the objects from this set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Hashtable table
| Constructor Detail |
|---|
Hashset()
| Method Detail |
|---|
boolean contains(Object key)
key - The object.
void add(Object key)
key - The object to be added.void addAll(Hashset set)
set - The other set.void clear()
Enumeration members()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||