static class Structure.StructureSet extends AbstractCollection implements Set
| Constructor and Description |
|---|
StructureSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object o) |
boolean |
contains(Object o) |
Structure[] |
getElements() |
Iterator |
iterator()
Simple implementation so that toString() doesn't break.
|
boolean |
remove(Object o) |
int |
size() |
addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streamStructure[] elements
public Structure[] getElements()
public int size()
size in interface Collectionsize in interface Setsize in class AbstractCollectionpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Setcontains in class AbstractCollectionpublic boolean add(Object o)
add in interface Collectionadd in interface Setadd in class AbstractCollectionpublic boolean remove(Object o)
remove in interface Collectionremove in interface Setremove in class AbstractCollectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Setiterator in class AbstractCollection