public static class TsonElementDecorator.AsArray extends TsonElementDecorator implements TsonArray
TsonElementDecorator.AsAlias, TsonElementDecorator.AsArray, TsonElementDecorator.AsBigComplex, TsonElementDecorator.AsBigDecimal, TsonElementDecorator.AsBigInt, TsonElementDecorator.AsBinaryStream, TsonElementDecorator.AsBoolean, TsonElementDecorator.AsByte, TsonElementDecorator.AsChar, TsonElementDecorator.AsCharStream, TsonElementDecorator.AsCustom, TsonElementDecorator.AsDouble, TsonElementDecorator.AsDoubleComplex, TsonElementDecorator.AsFloat, TsonElementDecorator.AsFloatComplex, TsonElementDecorator.AsInt, TsonElementDecorator.AsLocalDateTime, TsonElementDecorator.AsLocalLocalDate, TsonElementDecorator.AsLocalTime, TsonElementDecorator.AsLong, TsonElementDecorator.AsMatrix, TsonElementDecorator.AsName, TsonElementDecorator.AsNull, TsonElementDecorator.AsObject, TsonElementDecorator.AsOp, TsonElementDecorator.AsPair, TsonElementDecorator.AsPrimitive<T extends TsonElement>, TsonElementDecorator.AsRegex, TsonElementDecorator.AsShort, TsonElementDecorator.AsString, TsonElementDecorator.AsUplet| Constructor and Description |
|---|
AsArray(TsonArray base,
TsonComments comments,
TsonAnnotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
TsonElementList |
body() |
TsonArrayBuilder |
builder() |
TsonElement |
get(int index) |
TsonArray |
getBase() |
boolean |
isEmpty() |
boolean |
isNamed() |
boolean |
isParametrized() |
Iterator<TsonElement> |
iterator() |
String |
name() |
TsonElementList |
params() |
int |
paramsCount() |
int |
size() |
TsonArray |
toArray() |
TsonListContainer |
toListContainer() |
void |
visit(TsonParserVisitor visitor) |
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, comments, compareTo, doubleObject, doubleValue, equals, floatObject, floatValue, hashCode, instantValue, intObject, intValue, isNull, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, numberValue, of, of, processCommentsAndAnnotations, regexValue, shortObject, shortValue, simplify, stringValue, temporalValue, toAlias, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDouble, toDoubleComplex, toFloat, toFloatComplex, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toObject, toOp, toPair, toRegex, toShort, toStr, toString, toString, toString, toUplet, type, visitisAnyString, 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, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toObject, toOp, toPair, toRegex, toShort, toStr, toString, toUplet, visittoString, toString, typecompareToforEach, spliteratorpublic AsArray(TsonArray base, TsonComments comments, TsonAnnotation[] annotations)
public boolean isNamed()
isNamed in interface TsonNamedElementpublic TsonArray toArray()
toArray in interface TsonElementtoArray in class TsonElementDecoratorpublic TsonElementList body()
body in interface TsonListContainerpublic TsonElementList params()
params in interface TsonParametrizedElementpublic String name()
name in interface TsonNamedElementpublic TsonListContainer toListContainer()
toListContainer in interface TsonElementtoListContainer in class TsonElementDecoratorpublic TsonElement get(int index)
public TsonArray getBase()
getBase in class TsonElementDecoratorpublic Iterator<TsonElement> iterator()
iterator in interface Iterable<TsonElement>public TsonArrayBuilder builder()
builder in interface TsonArraybuilder in interface TsonElementbuilder in class TsonElementDecoratorpublic void visit(TsonParserVisitor visitor)
visit in interface TsonElementpublic boolean isParametrized()
isParametrized in interface TsonParametrizedElementpublic int paramsCount()
paramsCount in interface TsonParametrizedElementCopyright © 2025 vpc open source initiative. All rights reserved.