public abstract class AbstractTsonElement extends AbstractTsonElementBase
| Constructor and Description |
|---|
AbstractTsonElement(TsonElementType type) |
isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, toArray, toListContainer, toString, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuild, builder, visitpublic AbstractTsonElement(TsonElementType type)
public TsonElementType type()
public TsonComments comments()
public List<TsonAnnotation> annotations()
public int annotationsCount()
protected abstract <T> T throwPrimitive(TsonElementType type)
protected abstract <T> T throwNonPrimitive(TsonElementType type)
public TsonString toStr()
public TsonLong toLong()
public TsonInt toInt()
public TsonFloat toFloat()
public TsonDouble toDouble()
public TsonShort toShort()
public TsonByte toByte()
public TsonChar toChar()
public TsonCustom toCustom()
public TsonBoolean toBoolean()
public TsonName toName()
public TsonAlias toAlias()
public TsonLocalDate toLocalDate()
public TsonLocalDateTime toLocalDateTime()
public TsonLocalTime toLocalTime()
public TsonRegex toRegex()
public Boolean booleanObject()
public Character charObject()
public Byte byteObject()
public Number numberValue()
public Temporal temporalValue()
public Long longObject()
public Integer intObject()
public Short shortObject()
public Float floatObject()
public Double doubleObject()
public float floatValue()
public double doubleValue()
public byte byteValue()
public char charValue()
public boolean booleanValue()
public int intValue()
public long longValue()
public short shortValue()
public LocalDate localDateValue()
public Instant instantValue()
public LocalDateTime localDateTimeValue()
public LocalTime localTimeValue()
public Pattern regexValue()
public String stringValue()
public TsonNumber toNumber()
public TsonMatrix toMatrix()
public TsonObject toObject()
toObject in interface TsonElementtoObject in class AbstractTsonElementBasepublic TsonUplet toUplet()
toUplet in interface TsonElementtoUplet in class AbstractTsonElementBasepublic TsonPair toPair()
public TsonOp toOp()
public TsonBinaryStream toBinaryStream()
public TsonCharStream toCharStream()
public TsonBigInt toBigInt()
public TsonBigDecimal toBigDecimal()
public TsonBigComplex toBigComplex()
public TsonFloatComplex toFloatComplex()
public TsonDoubleComplex toDoubleComplex()
public BigInteger bigIntegerValue()
public BigDecimal bigDecimalValue()
public boolean visit(TsonDocumentVisitor visitor)
public int compareTo(TsonElement o)
protected abstract int compareCore(TsonElement o)
public boolean isNull()
Copyright © 2025 vpc open source initiative. All rights reserved.