public final class NetworkVariableCollection extends AbstractList<Variable>
Node it is automatically inserted into this collection.modCount| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object o)
Determines whether a
Variable is in the collection. |
Variable |
get(int index)
Gets the
Variable object at the specified index. |
Variable |
get(String name)
Performs a case sensitive lookup.
|
Variable |
get(String name,
boolean throwIfNotFound)
Performs a case sensitive lookup.
|
Network |
getNetwork()
The
Network the collection belongs to. |
int |
indexOf(Object o)
Determines the index of a specific
Variable in the collection. |
Variable |
set(int index,
Variable value)
Gets the
Variable object at the specified index. |
int |
size()
Gets the number of elements contained in the
NetworkVariableCollection instance. |
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic int size()
NetworkVariableCollection instance.size in interface Collection<Variable>size in interface List<Variable>size in class AbstractCollection<Variable>public boolean contains(Object o)
Variable is in the collection. The operation is O(1).contains in interface Collection<Variable>contains in interface List<Variable>contains in class AbstractCollection<Variable>o - The Variable to locate in the collection. The value can be null.public int indexOf(Object o)
Variable in the collection. This operation is O(1).Copyright © 2021. All rights reserved.