|
||||||
| 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.
| Field Summary | |
|---|---|
private java.util.Set |
m_nameSet
Set of names used. |
| Constructor Summary | |
|---|---|
UniqueNameSet()
Constructor. |
|
UniqueNameSet(java.util.Collection base)
Constructor from existing name collection. |
|
UniqueNameSet(UniqueNameSet original)
Copy constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
add(java.lang.String base)
Add name to set. |
void |
addAll(UniqueNameSet other)
Add all the names from another name set to this set. |
boolean |
contains(java.lang.String name)
Check if a name is already present in context. |
java.util.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 |
| Field Detail |
|---|
private final java.util.Set m_nameSet
| Constructor Detail |
|---|
public UniqueNameSet()
public UniqueNameSet(java.util.Collection base)
base - public UniqueNameSet(UniqueNameSet original)
original - | Method Detail |
|---|
public boolean contains(java.lang.String name)
name -
true if present, false if notpublic void addAll(UniqueNameSet other)
other - public java.lang.String add(java.lang.String base)
base - name to try adding
public java.util.Iterator iterator()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||