static class Structure.StructureSet extends AbstractCollection<Structure> implements Set<Structure>
| Constructor and Description |
|---|
StructureSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Structure o) |
boolean |
contains(Object o) |
Structure[] |
getElements() |
Iterator<Structure> |
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 Collection<Structure>size in interface Set<Structure>size in class AbstractCollection<Structure>public boolean contains(Object o)
contains in interface Collection<Structure>contains in interface Set<Structure>contains in class AbstractCollection<Structure>public boolean add(Structure o)
add in interface Collection<Structure>add in interface Set<Structure>add in class AbstractCollection<Structure>public boolean remove(Object o)
remove in interface Collection<Structure>remove in interface Set<Structure>remove in class AbstractCollection<Structure>