public static class TsonElementDecorator.AsMatrix extends TsonElementDecorator implements TsonMatrix
TsonElementDecorator.AsAlias, TsonElementDecorator.AsArray, TsonElementDecorator.AsBigComplex, TsonElementDecorator.AsBigDecimal, TsonElementDecorator.AsBigInt, TsonElementDecorator.AsBinaryStream, TsonElementDecorator.AsBoolean, TsonElementDecorator.AsByte, TsonElementDecorator.AsChar, TsonElementDecorator.AsCharStream, TsonElementDecorator.AsCustom, TsonElementDecorator.AsDouble, TsonElementDecorator.AsDoubleComplex, TsonElementDecorator.AsFloat, TsonElementDecorator.AsFloatComplex, TsonElementDecorator.AsInstant, TsonElementDecorator.AsInt, TsonElementDecorator.AsLocalDateTime, TsonElementDecorator.AsLocalLocalDate, TsonElementDecorator.AsLocalTime, TsonElementDecorator.AsLong, TsonElementDecorator.AsMatrix, TsonElementDecorator.AsName, TsonElementDecorator.AsNull, TsonElementDecorator.AsObject, TsonElementDecorator.AsOp, TsonElementDecorator.AsPair, TsonElementDecorator.AsPrimitive<T extends TsonElement>, TsonElementDecorator.AsRegex, TsonElementDecorator.AsShort, TsonElementDecorator.AsString, TsonElementDecorator.AsUplet| Constructor and Description |
|---|
AsMatrix(TsonMatrix base,
TsonComments comments,
TsonAnnotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
TsonArrayBuilder |
builder() |
TsonElement |
cell(int col,
int row) |
TsonArray |
column(int column) |
List<TsonArray> |
columns() |
int |
columnSize() |
TsonMatrix |
getBase() |
boolean |
isEmpty() |
boolean |
isNamed() |
boolean |
isParametrized() |
Iterator<TsonArray> |
iterator() |
String |
name() |
TsonElementList |
params() |
int |
paramsCount() |
TsonArray |
row(int row) |
List<TsonArray> |
rows() |
int |
rowSize() |
TsonMatrix |
toMatrix() |
void |
visit(TsonParserVisitor visitor) |
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, comments, compareTo, doubleObject, doubleValue, equals, floatObject, floatValue, hashCode, instantValue, intObject, intValue, isNull, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, numberValue, of, of, processCommentsAndAnnotations, regexValue, shortObject, shortValue, simplify, 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, toString, toString, toUplet, type, visitisAnyString, 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, waitforEach, spliteratorannotations, 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, toUplet, visittoString, toString, typecompareTopublic AsMatrix(TsonMatrix base, TsonComments comments, TsonAnnotation[] annotations)
public int columnSize()
columnSize in interface TsonMatrixpublic boolean isNamed()
isNamed in interface TsonNamedElementpublic int paramsCount()
paramsCount in interface TsonParametrizedElementpublic TsonMatrix toMatrix()
toMatrix in interface TsonElementtoMatrix in class TsonElementDecoratorpublic TsonMatrix getBase()
getBase in class TsonElementDecoratorpublic int rowSize()
rowSize in interface TsonMatrixpublic List<TsonArray> rows()
rows in interface TsonMatrixpublic TsonElement cell(int col, int row)
cell in interface TsonMatrixpublic TsonArray row(int row)
row in interface TsonMatrixpublic TsonArray column(int column)
column in interface TsonMatrixpublic List<TsonArray> columns()
columns in interface TsonMatrixpublic boolean isEmpty()
isEmpty in interface TsonMatrixpublic TsonArrayBuilder builder()
builder in interface TsonElementbuilder in interface TsonMatrixbuilder in class TsonElementDecoratorpublic void visit(TsonParserVisitor visitor)
visit in interface TsonElementpublic String name()
name in interface TsonNamedElementpublic boolean isParametrized()
isParametrized in interface TsonParametrizedElementpublic TsonElementList params()
params in interface TsonParametrizedElementCopyright © 2025 vpc open source initiative. All rights reserved.