|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.util.UniqueNameSet
public class UniqueNameSet
Set of unique names for a context. This assures uniqueness as names are added to the set.
| Constructor Summary | |
|---|---|
UniqueNameSet()
Constructor. |
|
UniqueNameSet(Collection base)
Constructor from existing name collection. |
|
UniqueNameSet(UniqueNameSet original)
Copy constructor. |
|
| Method Summary | |
|---|---|
String |
add(String base)
Add name to set. |
void |
addAll(UniqueNameSet other)
Add all the names from another name set to this set. |
boolean |
contains(String name)
Check if a name is already present in context. |
Iterator |
iterator()
Get iterator for names in set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueNameSet()
public UniqueNameSet(Collection base)
base - public UniqueNameSet(UniqueNameSet original)
original - | Method Detail |
|---|
public boolean contains(String name)
name -
true if present, false if notpublic void addAll(UniqueNameSet other)
other - public String add(String base)
base - name to try adding
public Iterator iterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||