public final class NetworkNodeGroupCollection extends AbstractList<NodeGroup>
modCount
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
NodeGroup element) |
void |
clear() |
NodeGroup |
get(int index) |
NodeGroup |
get(String name)
Gets the
NodeGroup with the specified name, from the collection, or returns null if not found. |
Network |
getNetwork()
Gets the network instance that these groups belong to.
|
NodeGroup |
remove(int index) |
NodeGroup |
set(int index,
NodeGroup element) |
int |
size() |
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public Network getNetwork()
public NodeGroup get(String name)
NodeGroup
with the specified name, from the collection, or returns null if not found.public void clear()
clear
in interface Collection<NodeGroup>
clear
in interface List<NodeGroup>
clear
in class AbstractList<NodeGroup>
public NodeGroup remove(int index)
public void add(int index, NodeGroup element)
public NodeGroup get(int index)
public int size()
size
in interface Collection<NodeGroup>
size
in interface List<NodeGroup>
size
in class AbstractCollection<NodeGroup>
Copyright © 2021. All rights reserved.