public class YAMLSequence extends net.pwall.json.JSONSequence<YAMLNode> implements YAMLNode
net.pwall.json.JSONSequence.ArrayIterator, net.pwall.json.JSONSequence.BaseIterator<T>, net.pwall.json.JSONSequence.BooleanIterator, net.pwall.json.JSONSequence.DoubleIterator, net.pwall.json.JSONSequence.FloatIterator, net.pwall.json.JSONSequence.IntegerIterator, net.pwall.json.JSONSequence.LongIterator, net.pwall.json.JSONSequence.ObjectIterator, net.pwall.json.JSONSequence.StringIterator| Modifier and Type | Field and Description |
|---|---|
static String |
defaultTag |
modCount| Constructor and Description |
|---|
YAMLSequence(List<YAMLNode> list)
Construct a
YAMLSequence with the given List and the default tag. |
YAMLSequence(List<YAMLNode> list,
String tag)
Construct a
YAMLSequence with the given List and tag. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getTag()
Get the tag of the node.
|
int |
hashCode() |
appendJSON, arrays, booleans, doubles, floats, getArray, getBoolean, getDecimal, getDouble, getFloat, getInt, getLong, getObject, getString, ints, isSimple, longs, objects, strings, toSimpleValue, toStringadd, 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, trimToSizecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitappendJSON, simpleValue, toJSON, toSimpleValuecontainsAllparallelStream, streampublic static final String defaultTag
public YAMLSequence(List<YAMLNode> list, String tag)
YAMLSequence with the given List and tag.list - the listtag - the tagCopyright © 2021. All rights reserved.