Package app.babylon.table.column
Class ColumnBoolean.Renamed
java.lang.Object
app.babylon.table.column.ColumnBoolean.Renamed
- All Implemented Interfaces:
Column,ColumnBoolean
- Enclosing interface:
ColumnBoolean
-
Nested Class Summary
Nested classes/interfaces inherited from interface app.babylon.table.column.Column
Column.Operator, Column.TypeNested classes/interfaces inherited from interface app.babylon.table.column.ColumnBoolean
ColumnBoolean.Builder, ColumnBoolean.Renamed -
Field Summary
Fields inherited from interface app.babylon.table.column.ColumnBoolean
TYPE -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(int i) Returns the boolean 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.boolean[]toArray(boolean[] 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 boolean get(int i) Description copied from interface:ColumnBooleanReturns the boolean value at the supplied row.- Specified by:
getin interfaceColumnBoolean- Parameters:
i- the zero-based row index- Returns:
- the boolean value
-
isSet
public boolean isSet(int i) Description copied from interface:ColumnIndicates whether the value at the supplied row is present. -
toArray
public boolean[] toArray(boolean[] x) Description copied from interface:ColumnBooleanCopies the values into the provided array, allocating a new array when necessary.- Specified by:
toArrayin interfaceColumnBoolean- 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.
-