public class UniqueNameSet extends Object
| Constructor and Description |
|---|
UniqueNameSet()
Constructor.
|
UniqueNameSet(Collection base)
Constructor from existing name collection.
|
UniqueNameSet(UniqueNameSet original)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public UniqueNameSet()
public UniqueNameSet(Collection base)
base - public UniqueNameSet(UniqueNameSet original)
original - 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 addingpublic Iterator iterator()
Copyright © 2005-2013 jibx.org. All Rights Reserved.