Package io.deephaven.qst.array
Class BooleanArray
- All Implemented Interfaces:
Array<Boolean>
,PrimitiveArray<Boolean>
A
BooleanType
array.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.qst.array.PrimitiveArray
PrimitiveArray.Visitor<R>
-
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanArray.Builder
builder
(int initialSize) final BooleanType
static BooleanArray
empty()
final boolean
final int
hashCode()
boolean
isNull
(int index) static BooleanArray
of
(byte... values) static BooleanArray
static BooleanArray
static BooleanArray
of
(Collection<Boolean> values) static BooleanArray
ofUnsafe
(byte... values) final int
size()
final Boolean
value
(int index) final byte[]
values()
The raw booleans, as bytes.final <R> R
walk
(PrimitiveArray.Visitor<R> visitor) Methods inherited from class io.deephaven.qst.array.PrimitiveArrayBase
walk
-
Method Details
-
empty
-
of
-
of
-
of
-
of
-
ofUnsafe
-
builder
-
values
public final byte[] values()The raw booleans, as bytes. Must not be modified.- Returns:
- the booleans, as bytes. do not modify
-
value
- Returns:
- the boxed value at
index
-
isNull
public boolean isNull(int index) - Returns:
- whether the value at
index
isnull
-
size
public final int size() -
componentType
-
walk
-
equals
-
hashCode
public final int hashCode()
-