public class TsonMatrixImpl extends AbstractNonPrimitiveTsonElement implements TsonMatrix
| Constructor and Description |
|---|
TsonMatrixImpl(String name,
TsonElementList params,
UnmodifiableArrayList<TsonArray> rows) |
| Modifier and Type | Method and Description |
|---|---|
TsonArrayBuilder |
builder() |
TsonElement |
cell(int col,
int row) |
TsonArray |
column(int column) |
List<TsonArray> |
columns() |
int |
columnSize() |
protected int |
compareCore(TsonElement o) |
boolean |
equals(Object o) |
int |
hashCode() |
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() |
boolean |
visit(TsonDocumentVisitor visitor) |
void |
visit(TsonParserVisitor visitor) |
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, toUpletannotations, annotationsCount, bigDecimalValue, bigIntegerValue, comments, compareTo, isNull, numberValue, temporalValue, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toCharStream, toDoubleComplex, toFloatComplex, toInstant, toNumber, typeisAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, toListContainerclone, 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, toUplettoString, toString, typecompareTopublic TsonMatrixImpl(String name, TsonElementList params, UnmodifiableArrayList<TsonArray> rows)
public TsonMatrix toMatrix()
toMatrix in interface TsonElementtoMatrix in class AbstractNonPrimitiveTsonElementpublic boolean isEmpty()
isEmpty in interface TsonMatrixpublic int rowSize()
rowSize in interface TsonMatrixpublic int columnSize()
columnSize 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 equals(Object o)
equals in class AbstractTsonElementpublic int hashCode()
hashCode in class AbstractTsonElementpublic TsonArrayBuilder builder()
builder in interface TsonElementbuilder in interface TsonMatrixpublic boolean visit(TsonDocumentVisitor visitor)
visit in interface TsonElementvisit in class AbstractNonPrimitiveTsonElementprotected int compareCore(TsonElement o)
compareCore in class AbstractTsonElementpublic 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 TsonParametrizedElementpublic boolean isNamed()
isNamed in interface TsonNamedElementpublic int paramsCount()
paramsCount in interface TsonParametrizedElementCopyright © 2025 vpc open source initiative. All rights reserved.