Class TsonArrayImpl
java.lang.Object
net.thevpc.tson.impl.elements.AbstractTsonElementBase
net.thevpc.tson.impl.elements.AbstractTsonElement
net.thevpc.tson.impl.elements.AbstractNonPrimitiveTsonElement
net.thevpc.tson.impl.elements.TsonArrayImpl
- All Implemented Interfaces:
Comparable<TsonElement>, Iterable<TsonElement>, TsonArray, TsonElement, TsonElementBase, TsonListContainer, TsonNamedElement, TsonParametrizedElement
-
Constructor Summary
ConstructorsConstructorDescriptionTsonArrayImpl(String name, TsonElementList params, UnmodifiableArrayList<TsonElement> elements) -
Method Summary
Methods inherited from class AbstractNonPrimitiveTsonElement
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, toUpletMethods inherited from class AbstractTsonElement
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, comments, compareTo, isNull, numberValue, temporalValue, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toCharStream, toDoubleComplex, toFloatComplex, toInstant, toNumber, typeMethods inherited from class AbstractTsonElementBase
isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUpletMethods inherited from interface Comparable
compareToMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface TsonElement
annotations, 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, toUpletMethods inherited from interface TsonElementBase
toString, toString, type
-
Constructor Details
-
TsonArrayImpl
public TsonArrayImpl(String name, TsonElementList params, UnmodifiableArrayList<TsonElement> elements)
-
-
Method Details
-
isNamed
public boolean isNamed()- Specified by:
isNamedin interfaceTsonNamedElement
-
body
- Specified by:
bodyin interfaceTsonListContainer
-
params
- Specified by:
paramsin interfaceTsonParametrizedElement
-
name
- Specified by:
namein interfaceTsonNamedElement
-
get
-
isParametrized
public boolean isParametrized()- Specified by:
isParametrizedin interfaceTsonParametrizedElement
-
paramsCount
public int paramsCount()- Specified by:
paramsCountin interfaceTsonParametrizedElement
-
toArray
- Specified by:
toArrayin interfaceTsonElement- Overrides:
toArrayin classAbstractNonPrimitiveTsonElement
-
toListContainer
- Specified by:
toListContainerin interfaceTsonElement- Overrides:
toListContainerin classAbstractTsonElementBase
-
isEmpty
-
size
-
iterator
- Specified by:
iteratorin interfaceIterable<TsonElement>
-
equals
- Overrides:
equalsin classAbstractTsonElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractTsonElement
-
builder
- Specified by:
builderin interfaceTsonArray- Specified by:
builderin interfaceTsonElement
-
visit
- Specified by:
visitin interfaceTsonElement- Overrides:
visitin classAbstractNonPrimitiveTsonElement
-
compareCore
- Specified by:
compareCorein classAbstractTsonElement
-
visit
- Specified by:
visitin interfaceTsonElement
-