Package app.babylon.table.column
Class ColumnInt.Renamed
java.lang.Object
app.babylon.table.column.ColumnInt.Renamed
- Enclosing interface:
ColumnInt
-
Nested Class Summary
Nested classes/interfaces inherited from interface app.babylon.table.column.Column
Column.KeyedValue, Column.Operator, Column.TypeNested classes/interfaces inherited from interface app.babylon.table.column.ColumnInt
ColumnInt.Builder, ColumnInt.KeyedInt, ColumnInt.Renamed -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionintget(int i) Returns the int value at the supplied row.getName()Returns the logical column name.booleanisAllSet()Indicates whether every row in the column contains a value.booleanIndicates whether the column represents the same value for every row.Unset values are part of the value pattern, so an all-unset column is constant, while a mix of unset and set values is not constant unless the implementation explicitly defines that pattern as constant.booleanIndicates whether no row in the column contains a value.booleanisSet(int i) Indicates whether the value at the supplied row is present.intsize()Returns the number of rows in the column.int[]toArray(int[] x) Copies the values into the provided array, allocating a new array when necessary.Returns a projected view of this column using the supplied row mapping.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getName
Description copied from interface:ColumnReturns the logical column name. -
size
public int size()Description copied from interface:ColumnReturns the number of rows in the column. -
get
public int get(int i) Description copied from interface:ColumnIntReturns the int value at the supplied row. -
isSet
public boolean isSet(int i) Description copied from interface:ColumnIndicates whether the value at the supplied row is present. -
toArray
public int[] toArray(int[] x) Description copied from interface:ColumnIntCopies the values into the provided array, allocating a new array when necessary. -
isConstant
public boolean isConstant()Description copied from interface:ColumnIndicates whether the column represents the same value for every row.Unset values are part of the value pattern, so an all-unset column is constant, while a mix of unset and set values is not constant unless the implementation explicitly defines that pattern as constant.- Specified by:
isConstantin interfaceColumn- Returns:
truewhen the column is constant
-
isAllSet
public boolean isAllSet()Description copied from interface:ColumnIndicates whether every row in the column contains a value. -
isNoneSet
public boolean isNoneSet()Description copied from interface:ColumnIndicates whether no row in the column contains a value. -
view
Description copied from interface:ColumnReturns a projected view of this column using the supplied row mapping.
-