public abstract class AbstractTsonElement extends AbstractTsonElementBase
| Constructor and Description |
|---|
AbstractTsonElement(TsonElementType type) |
isContainer, isNumber, isPrimitive, isTemporal, toString, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuild, builder, of, visitpublic AbstractTsonElement(TsonElementType type)
public TsonElementType type()
public TsonComments comments()
public 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 TsonBoolean toBoolean()
public TsonName toName()
public TsonAlias toAlias()
public TsonDate toDate()
public TsonDateTime toDateTime()
public TsonTime toTime()
public TsonRegex toRegex()
public Boolean booleanObject()
public Character charObject()
public Byte byteObject()
public Number numberValue()
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 dateValue()
public Instant dateTimeValue()
public LocalTime time()
public Pattern regexValue()
public String stringValue()
public TsonFunction toFunction()
public TsonNumber toNumber()
public TsonArray toArray()
public TsonMatrix toMatrix()
public TsonObject toObject()
public TsonUplet toUplet()
public TsonPair toPair()
public TsonBinOp toBinOp()
public TsonBinaryStream toBinaryStream()
public TsonCharStream toCharStream()
public TsonBigInt toBigInt()
public TsonBigDecimal toBigDecimal()
public TsonBigComplex toBigComplex()
public TsonFloatComplex toFloatComplex()
public TsonDoubleComplex toDoubleComplex()
public BigInteger getBigInteger()
public BigDecimal getBigDecimal()
public boolean visit(TsonDocumentVisitor visitor)
public int compareTo(TsonElement o)
protected abstract int compareCore(TsonElement o)
public boolean isNull()
public TsonContainer toContainer()
Copyright © 2024 vpc open source initiative. All rights reserved.