Package net.pwall.yaml
Class YAMLSequence
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<V>
net.pwall.json.JSONSequence<YAMLNode>
net.pwall.yaml.YAMLSequence
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<YAMLNode>,Collection<YAMLNode>,List<YAMLNode>,RandomAccess,net.pwall.json.JSONComposite,net.pwall.json.JSONValue,YAMLNode
A YAML sequence.
- Author:
- Peter Wall
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.pwall.json.JSONSequence
net.pwall.json.JSONSequence.ArrayIterator, net.pwall.json.JSONSequence.BaseIterator<T extends Object>, 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 -
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionYAMLSequence(List<YAMLNode> list) Construct aYAMLSequencewith the givenListand the default tag.YAMLSequence(List<YAMLNode> list, String tag) Construct aYAMLSequencewith the givenListand tag. -
Method Summary
Methods inherited from class net.pwall.json.JSONSequence
appendJSON, arrays, booleans, doubles, floats, getArray, getBoolean, getDecimal, getDouble, getFloat, getInt, getLong, getObject, getString, ints, isSimple, longs, objects, strings, toSimpleValue, toStringMethods inherited from class java.util.ArrayList
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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods 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 net.pwall.json.JSONValue
appendJSON, toJSON, toSimpleValueMethods inherited from interface java.util.List
containsAll
-
Field Details
-
defaultTag
- See Also:
-
-
Constructor Details
-
Method Details
-
getTag
Description copied from interface:YAMLNodeGet the tag of the node. -
equals
-
hashCode
public int hashCode()
-