public static class TsonElementDecorator.AsMatrix extends TsonElementDecorator implements TsonMatrix
TsonElementDecorator.AsAlias, TsonElementDecorator.AsArray, TsonElementDecorator.AsBigComplex, TsonElementDecorator.AsBigDecimal, TsonElementDecorator.AsBigInt, TsonElementDecorator.AsBinaryStream, TsonElementDecorator.AsBinOp, TsonElementDecorator.AsBoolean, TsonElementDecorator.AsByte, TsonElementDecorator.AsChar, TsonElementDecorator.AsCharStream, TsonElementDecorator.AsCustom, TsonElementDecorator.AsDate, TsonElementDecorator.AsDateTime, TsonElementDecorator.AsDouble, TsonElementDecorator.AsDoubleComplex, TsonElementDecorator.AsFloat, TsonElementDecorator.AsFloatComplex, TsonElementDecorator.AsFunction, TsonElementDecorator.AsInt, TsonElementDecorator.AsLong, TsonElementDecorator.AsMatrix, TsonElementDecorator.AsName, TsonElementDecorator.AsNull, TsonElementDecorator.AsObject, TsonElementDecorator.AsPair, TsonElementDecorator.AsPrimitive<T extends TsonElement>, TsonElementDecorator.AsRegex, TsonElementDecorator.AsShort, TsonElementDecorator.AsString, TsonElementDecorator.AsTime, TsonElementDecorator.AsUplet| Constructor and Description |
|---|
AsMatrix(TsonMatrix base,
TsonComments comments,
TsonAnnotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
TsonArrayBuilder |
builder() |
TsonElement |
get(int col,
int row) |
TsonMatrix |
getBase() |
TsonArray |
getColumn(int column) |
List<TsonArray> |
getColumns() |
TsonElementHeader |
getHeader() |
TsonArray |
getRow(int row) |
List<TsonArray> |
getRows() |
boolean |
isEmpty() |
Iterator<TsonArray> |
iterator() |
List<TsonArray> |
rows() |
int |
rowSize() |
TsonMatrix |
toMatrix() |
void |
visit(TsonParserVisitor visitor) |
annotations, annotationsCount, booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, comments, compareTo, dateTimeValue, dateValue, doubleObject, doubleValue, equals, floatObject, floatValue, getBigDecimal, getBigInteger, hashCode, intObject, intValue, isNull, longObject, longValue, numberValue, of, of, processCommentsAndAnnotations, regexValue, shortObject, shortValue, simplify, stringValue, temporalValue, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toContainer, toCustom, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toString, toString, toString, toTime, toUplet, type, visitisAnyString, isArray, isBoolean, isComplexNumber, isContainer, isFloatingNumber, isFunction, isName, isNamedArray, isNamedObject, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUpletclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotations, annotationsCount, booleanObject, booleanValue, build, byteObject, byteValue, charObject, charValue, comments, dateTimeValue, dateValue, doubleObject, doubleValue, floatObject, floatValue, getBigDecimal, getBigInteger, intObject, intValue, isAnyString, isArray, isBoolean, isComplexNumber, isContainer, isFloatingNumber, isFunction, isName, isNamedArray, isNamedObject, isNull, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, longObject, longValue, numberValue, of, regexValue, shortObject, shortValue, stringValue, temporalValue, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toContainer, toCustom, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toTime, toUplet, visittoString, toString, toString, typecompareToforEach, spliteratorpublic AsMatrix(TsonMatrix base, TsonComments comments, TsonAnnotation[] annotations)
public 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 get(int col, int row)
get in interface TsonMatrixpublic TsonArray getRow(int row)
getRow in interface TsonMatrixpublic List<TsonArray> getRows()
getRows in interface TsonMatrixpublic TsonArray getColumn(int column)
getColumn in interface TsonMatrixpublic List<TsonArray> getColumns()
getColumns in interface TsonMatrixpublic boolean isEmpty()
isEmpty in interface TsonMatrixpublic TsonElementHeader getHeader()
getHeader in interface TsonMatrixpublic TsonArrayBuilder builder()
builder in interface TsonElementbuilder in interface TsonMatrixbuilder in class TsonElementDecoratorpublic void visit(TsonParserVisitor visitor)
visit in interface TsonElementCopyright © 2025 vpc open source initiative. All rights reserved.