public class TsonArrayImpl extends AbstractNonPrimitiveTsonElement implements TsonArray
| Constructor and Description |
|---|
TsonArrayImpl(TsonElementHeader header,
UnmodifiableArrayList<TsonElement> elements) |
| Modifier and Type | Method and Description |
|---|---|
List<TsonElement> |
all() |
TsonElementList |
args() |
TsonElementList |
body() |
TsonArrayBuilder |
builder() |
protected int |
compareCore(TsonElement o) |
boolean |
equals(Object o) |
TsonElement |
get(int index) |
int |
hashCode() |
TsonElementHeader |
header() |
boolean |
isEmpty() |
Iterator<TsonElement> |
iterator() |
String |
name() |
int |
size() |
TsonArray |
toArray() |
TsonContainer |
toContainer() |
boolean |
visit(TsonDocumentVisitor visitor) |
void |
visit(TsonParserVisitor visitor) |
booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, dateTimeValue, dateValue, doubleObject, doubleValue, floatObject, floatValue, intObject, intValue, longObject, longValue, numberValue, regexValue, shortObject, shortValue, stringValue, throwNonPrimitive, throwPrimitive, time, toAlias, toBinOp, toBoolean, toByte, toChar, toDate, toDateTime, toDouble, toFloat, toFunction, toInt, toLong, toMatrix, toName, toObject, toPair, toRegex, toShort, toStr, toString, toString, toString, toTime, toUpletannotations, annotationsCount, comments, compareTo, getBigDecimal, getBigInteger, isNull, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toCharStream, toDoubleComplex, toFloatComplex, toNumber, typeisContainer, isNumber, isPrimitive, isTemporalclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotations, annotationsCount, booleanObject, booleanValue, build, byteObject, byteValue, charObject, charValue, comments, dateTimeValue, dateValue, doubleObject, doubleValue, floatObject, floatValue, getBigDecimal, getBigInteger, intObject, intValue, isContainer, isNull, isNumber, isPrimitive, isTemporal, longObject, longValue, numberValue, of, regexValue, shortObject, shortValue, stringValue, time, toAlias, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toMatrix, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toTime, toUplettoString, toString, toString, typecompareToforEach, spliteratorpublic TsonArrayImpl(TsonElementHeader header, UnmodifiableArrayList<TsonElement> elements)
public TsonElementList body()
body in interface TsonContainerpublic TsonElementList args()
args in interface TsonContainerpublic String name()
name in interface TsonContainerpublic TsonElement get(int index)
public TsonElementHeader header()
public TsonArray toArray()
toArray in interface TsonElementtoArray in class AbstractNonPrimitiveTsonElementpublic TsonContainer toContainer()
toContainer in interface TsonElementtoContainer in class AbstractTsonElementpublic List<TsonElement> all()
public Iterator<TsonElement> iterator()
iterator in interface Iterable<TsonElement>public boolean equals(Object o)
equals in class AbstractTsonElementpublic int hashCode()
hashCode in class AbstractTsonElementpublic TsonArrayBuilder builder()
builder in interface TsonArraybuilder in interface TsonElementpublic boolean visit(TsonDocumentVisitor visitor)
visit in interface TsonElementvisit in class AbstractNonPrimitiveTsonElementprotected int compareCore(TsonElement o)
compareCore in class AbstractTsonElementpublic void visit(TsonParserVisitor visitor)
visit in interface TsonElementCopyright © 2024 vpc open source initiative. All rights reserved.