public interface ImmutableArrayValue extends ArrayValue, ImmutableValue
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Value> |
iterator()
Returns an iterator over elements.
|
java.util.List<Value> |
list()
Returns the value as
List. |
get, getOrNilValue, sizeasArrayValue, asBinaryValue, asBooleanValue, asFloatValue, asIntegerValue, asMapValue, asNilValue, asRawValue, asStringValueasExtensionValue, asNumberValue, equals, getValueType, immutableValue, isArrayValue, isBinaryValue, isBooleanValue, isExtensionValue, isFloatValue, isIntegerValue, isMapValue, isNilValue, isNumberValue, isRawValue, isStringValue, toJson, writeTojava.util.Iterator<Value> iterator()
remove() method since the value is immutable.iterator in interface ArrayValueiterator in interface java.lang.Iterable<Value>java.util.List<Value> list()
List.
Returned List is immutable. It does not support put(), clear(), or other methods that modify the value.list in interface ArrayValue