public class TsonArrayImpl extends AbstractNonPrimitiveTsonElement implements TsonArray
| Constructor and Description |
|---|
TsonArrayImpl(String name,
TsonElementList params,
UnmodifiableArrayList<TsonElement> elements) |
| Modifier and Type | Method and Description |
|---|---|
TsonElementList |
body() |
TsonArrayBuilder |
builder() |
protected int |
compareCore(TsonElement o) |
boolean |
equals(Object o) |
TsonElement |
get(int index) |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isNamed() |
boolean |
isParametrized() |
Iterator<TsonElement> |
iterator() |
String |
name() |
TsonElementList |
params() |
int |
paramsCount() |
int |
size() |
TsonArray |
toArray() |
TsonListContainer |
toListContainer() |
boolean |
visit(TsonDocumentVisitor visitor) |
void |
visit(TsonParserVisitor visitor) |
booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, doubleObject, doubleValue, floatObject, floatValue, instantValue, intObject, intValue, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, regexValue, shortObject, shortValue, stringValue, throwNonPrimitive, throwPrimitive, toAlias, toBoolean, toByte, toChar, toCustom, toDouble, toFloat, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toObject, toOp, toPair, toRegex, toShort, toStr, toString, toString, toString, toUpletannotations, annotationsCount, bigDecimalValue, bigIntegerValue, comments, compareTo, isNull, numberValue, temporalValue, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toCharStream, toDoubleComplex, toFloatComplex, toInstant, toNumber, typeisAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUpletclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, build, byteObject, byteValue, charObject, charValue, comments, doubleObject, doubleValue, floatObject, floatValue, instantValue, intObject, intValue, isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNull, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, numberValue, regexValue, shortObject, shortValue, stringValue, temporalValue, toAlias, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDouble, toDoubleComplex, toFloat, toFloatComplex, toInstant, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toObject, toOp, toPair, toRegex, toShort, toStr, toString, toUplettoString, toString, typecompareToforEach, spliteratorpublic TsonArrayImpl(String name, TsonElementList params, UnmodifiableArrayList<TsonElement> elements)
public boolean isNamed()
isNamed in interface TsonNamedElementpublic TsonElementList body()
body in interface TsonListContainerpublic TsonElementList params()
params in interface TsonParametrizedElementpublic String name()
name in interface TsonNamedElementpublic TsonElement get(int index)
public boolean isParametrized()
isParametrized in interface TsonParametrizedElementpublic int paramsCount()
paramsCount in interface TsonParametrizedElementpublic TsonArray toArray()
toArray in interface TsonElementtoArray in class AbstractNonPrimitiveTsonElementpublic TsonListContainer toListContainer()
toListContainer in interface TsonElementtoListContainer in class AbstractTsonElementBasepublic 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 © 2025 vpc open source initiative. All rights reserved.