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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
Structure[] elements
public Structure[] getElements()
public int size()
size
in interface Collection
size
in interface Set
size
in class AbstractCollection
public boolean contains(Object o)
contains
in interface Collection
contains
in interface Set
contains
in class AbstractCollection
public boolean add(Object o)
add
in interface Collection
add
in interface Set
add
in class AbstractCollection
public boolean remove(Object o)
remove
in interface Collection
remove
in interface Set
remove
in class AbstractCollection
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface Set
iterator
in class AbstractCollection