T - JsonDomValue typepublic class JsonDomArrayChildren<T extends JsonDomValue<?>> extends ArrayList<T> implements JsonDomChildren<T>
modCount| Constructor and Description |
|---|
JsonDomArrayChildren() |
JsonDomArrayChildren(int initialCapacity,
Iterable<V> children,
Function<V,T> jsonDomValueMapper)
Constructor that allows adding an initial amount of children while applying
jsonDomValueMapper before. |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<String,T>> |
entrySet()
Returns a
Set view of the children. |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic JsonDomArrayChildren(int initialCapacity,
Iterable<V> children,
Function<V,T> jsonDomValueMapper)
jsonDomValueMapper before.V - type of children before mapping to a
JsonDomValue typeinitialCapacity - hint on the number of children to addchildren - children to apply jsonDomValueMapper and
addjsonDomValueMapper - mapper from any given type to a
JsonDomValue typepublic JsonDomArrayChildren()
public Set<Map.Entry<String,T>> entrySet()
Set view of the children.entrySet in interface JsonDomChildren<T extends JsonDomValue<?>>Copyright © 2024. All rights reserved.