public class TsonObjectImpl extends AbstractNonPrimitiveTsonElement implements TsonObject
| Constructor and Description |
|---|
TsonObjectImpl(String name,
TsonElementList params,
UnmodifiableArrayList<TsonElement> elements) |
| Modifier and Type | Method and Description |
|---|---|
TsonElementList |
body() |
TsonObjectBuilder |
builder() |
protected int |
compareCore(TsonElement o) |
boolean |
equals(Object o) |
TsonElement |
get(String name) |
TsonElement |
get(TsonElement element) |
int |
hashCode() |
boolean |
isNamed() |
boolean |
isParametrized() |
Iterator<TsonElement> |
iterator() |
String |
name() |
TsonElementList |
params() |
int |
paramsCount() |
int |
size() |
TsonListContainer |
toListContainer() |
TsonObject |
toObject() |
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, toArray, toBoolean, toByte, toChar, toCustom, toDouble, toFloat, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, 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, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDouble, toDoubleComplex, toFloat, toFloatComplex, toInstant, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toOp, toPair, toRegex, toShort, toStr, toString, toUplettoString, toString, typecompareToforEach, spliteratorpublic TsonObjectImpl(String name, TsonElementList params, UnmodifiableArrayList<TsonElement> elements)
public boolean isNamed()
isNamed in interface TsonNamedElementisNamed in interface TsonObjectpublic TsonElementList params()
params in interface TsonParametrizedElementpublic boolean isParametrized()
isParametrized in interface TsonObjectisParametrized in interface TsonParametrizedElementpublic int paramsCount()
paramsCount in interface TsonParametrizedElementpublic TsonListContainer toListContainer()
toListContainer in interface TsonElementtoListContainer in class AbstractTsonElementBasepublic String name()
name in interface TsonNamedElementpublic TsonObject toObject()
toObject in interface TsonElementtoObject in class AbstractNonPrimitiveTsonElementpublic TsonElement get(String name)
get in interface TsonObjectpublic TsonElementList body()
body in interface TsonListContainerpublic TsonElement get(TsonElement element)
get in interface TsonObjectpublic int size()
size in interface TsonObjectpublic Iterator<TsonElement> iterator()
iterator in interface Iterable<TsonElement>public boolean equals(Object o)
equals in class AbstractTsonElementpublic int hashCode()
hashCode in class AbstractTsonElementpublic TsonObjectBuilder builder()
builder in interface TsonElementbuilder in interface TsonObjectpublic 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.