Class TsonMatrixImpl
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.TsonMatrixImpl
- All Implemented Interfaces:
Comparable<TsonElement>, Iterable<TsonArray>, TsonElement, TsonElementBase, TsonMatrix, TsonNamedElement, TsonParametrizedElement
-
Constructor Summary
ConstructorsConstructorDescriptionTsonMatrixImpl(String name, TsonElementList params, UnmodifiableArrayList<TsonArray> rows) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()cell(int col, int row) column(int column) columns()intprotected intbooleaninthashCode()booleanisEmpty()booleanisNamed()booleaniterator()name()params()introw(int row) rows()introwSize()toMatrix()booleanvisit(TsonDocumentVisitor visitor) voidvisit(TsonParserVisitor visitor) 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, toArray, toBoolean, toByte, toChar, toCustom, toDouble, toFloat, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, 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, isUplet, toListContainerMethods 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, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDouble, toDoubleComplex, toFloat, toFloatComplex, toInstant, toInt, toListContainer, toLocalDate, toLocalDateTime, toLocalTime, toLong, toName, toNumber, toObject, toOp, toPair, toRegex, toShort, toStr, toString, toUpletMethods inherited from interface TsonElementBase
toString, toString, type
-
Constructor Details
-
TsonMatrixImpl
-
-
Method Details
-
toMatrix
- Specified by:
toMatrixin interfaceTsonElement- Overrides:
toMatrixin classAbstractNonPrimitiveTsonElement
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceTsonMatrix
-
rowSize
public int rowSize()- Specified by:
rowSizein interfaceTsonMatrix
-
columnSize
public int columnSize()- Specified by:
columnSizein interfaceTsonMatrix
-
rows
- Specified by:
rowsin interfaceTsonMatrix
-
cell
- Specified by:
cellin interfaceTsonMatrix
-
row
- Specified by:
rowin interfaceTsonMatrix
-
column
- Specified by:
columnin interfaceTsonMatrix
-
columns
- Specified by:
columnsin interfaceTsonMatrix
-
iterator
-
equals
- Overrides:
equalsin classAbstractTsonElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractTsonElement
-
builder
- Specified by:
builderin interfaceTsonElement- Specified by:
builderin interfaceTsonMatrix
-
visit
- Specified by:
visitin interfaceTsonElement- Overrides:
visitin classAbstractNonPrimitiveTsonElement
-
compareCore
- Specified by:
compareCorein classAbstractTsonElement
-
visit
- Specified by:
visitin interfaceTsonElement
-
name
- Specified by:
namein interfaceTsonNamedElement
-
isParametrized
public boolean isParametrized()- Specified by:
isParametrizedin interfaceTsonParametrizedElement
-
params
- Specified by:
paramsin interfaceTsonParametrizedElement
-
isNamed
public boolean isNamed()- Specified by:
isNamedin interfaceTsonNamedElement
-
paramsCount
public int paramsCount()- Specified by:
paramsCountin interfaceTsonParametrizedElement
-