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 - Collectionpublic UniqueNameSet(UniqueNameSet original)
original - Name Setpublic boolean contains(String name)
name - true if present, false if notpublic void addAll(UniqueNameSet other)
other - Unique Name Setpublic String add(String base)
base - name to try addingpublic Iterator iterator()
Copyright © 2005–2016 jibx.org. All rights reserved.