public class TsonMatrixImpl extends AbstractNonPrimitiveTsonElement implements TsonMatrix
| Constructor and Description |
|---|
TsonMatrixImpl(TsonElementHeader header,
UnmodifiableArrayList<TsonArray> rows) |
| Modifier and Type | Method and Description |
|---|---|
TsonArrayBuilder |
builder() |
int |
columnSize() |
protected int |
compareCore(TsonElement o) |
boolean |
equals(Object o) |
TsonElement |
get(int col,
int row) |
TsonArray |
getColumn(int column) |
List<TsonArray> |
getColumns() |
TsonElementHeader |
getHeader() |
TsonArray |
getRow(int row) |
List<TsonArray> |
getRows() |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<TsonArray> |
iterator() |
List<TsonArray> |
rows() |
int |
rowSize() |
TsonMatrix |
toMatrix() |
boolean |
visit(TsonDocumentVisitor visitor) |
void |
visit(TsonParserVisitor visitor) |
booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, dateTimeValue, dateValue, doubleObject, doubleValue, floatObject, floatValue, intObject, intValue, longObject, longValue, numberValue, regexValue, shortObject, shortValue, stringValue, throwNonPrimitive, throwPrimitive, time, toAlias, toArray, toBinOp, toBoolean, toByte, toChar, toDate, toDateTime, toDouble, toFloat, toFunction, toInt, toLong, toName, toObject, toPair, toRegex, toShort, toStr, toString, toString, toString, toTime, toUpletannotations, annotationsCount, comments, compareTo, getBigDecimal, getBigInteger, isNull, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toCharStream, toContainer, toDoubleComplex, toFloatComplex, toNumber, typeisContainer, isNumber, isPrimitive, isTemporalclone, 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, isContainer, isNull, isNumber, isPrimitive, isTemporal, longObject, longValue, numberValue, of, regexValue, shortObject, shortValue, stringValue, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toContainer, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toTime, toUplettoString, toString, toString, typecompareToforEach, spliteratorpublic TsonMatrixImpl(TsonElementHeader header, UnmodifiableArrayList<TsonArray> rows)
public TsonElementHeader getHeader()
getHeader in interface TsonMatrixpublic TsonMatrix toMatrix()
toMatrix in interface TsonElementtoMatrix in class AbstractNonPrimitiveTsonElementpublic boolean isEmpty()
isEmpty in interface TsonMatrixpublic int rowSize()
rowSize in interface TsonMatrixpublic int columnSize()
public 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 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 TsonElementCopyright © 2024 vpc open source initiative. All rights reserved.