Package hudson.slaves
Class NodeList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Node>,Collection<Node>,List<Node>,RandomAccess
CopyOnWriteArrayList for Node that has special serialization semantics
of not serializing EphemeralNodes.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConverterimplementation for XStream. -
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends Node> c) booleanaddAll(Collection<? extends Node> c) voidclear()remove(int index) booleanbooleanremoveAll(Collection<?> c) protected voidremoveRange(int fromIndex, int toIndex) booleanretainAll(Collection<?> c) Methods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
NodeList
public NodeList() -
NodeList
-
NodeList
-
-
Method Details
-
getNode
-
add
-
remove
-
remove
-
clear
public void clear() -
addAll
-
addAll
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classArrayList<Node>
-
removeAll
-
retainAll
-
add
-
set
-