Package com.yahoo.config
Class LeafNodeVector<REAL,NODE extends LeafNode<REAL>>
java.lang.Object
com.yahoo.config.NodeVector<NODE>
com.yahoo.config.LeafNodeVector<REAL,NODE>
- All Implemented Interfaces:
Iterable<NODE>
,Collection<NODE>
,List<NODE>
A vector of leaf nodes.
- Author:
- gjoranv
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.config.NodeVector
NodeVector.ReadOnlyException
-
Field Summary
Fields inherited from class com.yahoo.config.NodeVector
vector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasList()
static LeafNodeVector<FileReference,
FileNode> createFileNodeVector
(Collection<String> values) static LeafNodeVector<Path,
ModelNode> static LeafNodeVector<Optional<Path>,
OptionalPathNode> static LeafNodeVector<Path,
PathNode> createPathNodeVector
(Collection<FileReference> values) static LeafNodeVector<File,
UrlNode> createUrlNodeVector
(Collection<UrlReference> values) Methods inherited from class com.yahoo.config.NodeVector
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, length, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Constructor Details
-
LeafNodeVector
-
-
Method Details
-
asList
-
createFileNodeVector
public static LeafNodeVector<FileReference,FileNode> createFileNodeVector(Collection<String> values) -
createPathNodeVector
-
createOptionalPathNodeVector
public static LeafNodeVector<Optional<Path>,OptionalPathNode> createOptionalPathNodeVector(Collection<Optional<FileReference>> values) -
createUrlNodeVector
-
createModelNodeVector
public static LeafNodeVector<Path,ModelNode> createModelNodeVector(Collection<ModelReference> values)
-