static class Structure.StructureSet extends AbstractCollection<Structure> implements Set<Structure>
| Constructor | Description |
|---|---|
StructureSet() |
| Modifier and Type | Method | 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, toStringparallelStream, 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>