public class NodeCollection extends ArrayList<ChartNode>
ChartNode
instances.Modifier and Type | Method and Description |
---|---|
boolean |
add(ChartNode node) |
void |
clear() |
ChartElement |
getOwner()
Gets the current owner of this
NodeCollection . |
void |
remove(ChartNode node)
Removes the provided
ChartNode instance from the collection. |
ChartNode |
remove(int index) |
add, addAll, addAll, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
containsAll, equals, hashCode
parallelStream, stream
public ChartElement getOwner()
NodeCollection
.ChartElement
instance representing the owner of the collection.public boolean add(ChartNode node)
public void remove(ChartNode node)
ChartNode
instance from the collection.node
- the node to remove.public ChartNode remove(int index)