|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.xml.types.element.HashSetState<T>
public class HashSetState<T extends ElementState>
An ElementState XML tree node that supports an ArrayList of children (as well as whatever else you add to it).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ecologylab.xml.ElementState |
|---|
ElementState.ClassToCollectionMap, ElementState.DeclarationStyle, ElementState.xml_attribute, ElementState.xml_class, ElementState.xml_classes, ElementState.xml_collection, ElementState.xml_leaf, ElementState.xml_map, ElementState.xml_nested, ElementState.xml_tag |
| Field Summary | |
|---|---|
protected java.util.HashSet<T> |
set
|
| Fields inherited from class ecologylab.xml.ElementState |
|---|
CDATA, ESTIMATE_CHARS_PER_FIELD, FLOATING_PRECISION_OFF, MARSHALLING_PARAMS, NORMAL, UTF16, UTF16_LE, UTF8, XML_FILE_HEADER |
| Fields inherited from interface ecologylab.xml.XMLTranslationExceptionTypes |
|---|
FILE_NOT_FOUND, IO_EXCEPTION, NULL_PURL, UNKNOWN |
| Constructor Summary | |
|---|---|
HashSetState()
|
|
| Method Summary | |
|---|---|
boolean |
add(T elementState)
|
void |
clear()
Remove all elements from our Collection. |
HashSetState<T> |
clone()
|
protected java.util.Collection<? extends ElementState> |
getCollection(java.lang.Class thatClass)
Return the collection object associated with this |
java.util.Iterator<T> |
iterator()
|
void |
recycle()
Clear data structures and references to enable garbage collecting of resources associated with this. |
protected java.util.HashSet<T> |
set()
|
int |
size()
Get the number of elements in the set. |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.HashSet<T extends ElementState> set
| Constructor Detail |
|---|
public HashSetState()
| Method Detail |
|---|
protected java.util.HashSet<T> set()
public boolean add(T elementState)
public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T extends ElementState>protected java.util.Collection<? extends ElementState> getCollection(java.lang.Class thatClass)
getCollection in class ElementStatethatClass - The class of the ElementState superclass that could be stored in a Collection.
public void clear()
public int size()
public HashSetState<T> clone()
clone in class java.lang.Objectpublic void recycle()
recycle in class ElementState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||