Package app.babylon.table.column
Class ColumnDouble.Renamed
java.lang.Object
app.babylon.table.column.ColumnDouble.Renamed
- All Implemented Interfaces:
Column,ColumnDouble
- Enclosing interface:
ColumnDouble
-
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.ColumnDouble
ColumnDouble.Builder, ColumnDouble.KeyedDouble, ColumnDouble.Renamed -
Field Summary
Fields inherited from interface app.babylon.table.column.ColumnDouble
TYPE -
Method Summary
Modifier and TypeMethodDescriptiondoubleget(int i) Returns the double 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.double[]toArray(double[] 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 double get(int i) Description copied from interface:ColumnDoubleReturns the double value at the supplied row.- Specified by:
getin interfaceColumnDouble- Parameters:
i- the zero-based row index- Returns:
- the double value
-
isSet
public boolean isSet(int i) Description copied from interface:ColumnIndicates whether the value at the supplied row is present.- Specified by:
isSetin interfaceColumn- Specified by:
isSetin interfaceColumnDouble- Parameters:
i- the zero-based row index- Returns:
truewhen the row contains a value
-
toArray
public double[] toArray(double[] x) Description copied from interface:ColumnDoubleCopies the values into the provided array, allocating a new array when necessary.- Specified by:
toArrayin interfaceColumnDouble- Parameters:
x- the destination array, ornull- Returns:
- an array containing the column values
-
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.
-