Package io.deephaven.qst.array
Class LongArray
- All Implemented Interfaces:
Array<Long>
,PrimitiveArray<Long>
A
LongType
array.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.qst.array.PrimitiveArray
PrimitiveArray.Visitor<R>
-
Method Summary
Modifier and TypeMethodDescriptionstatic LongArray.Builder
builder
(int initialSize) final LongType
static LongArray
empty()
final boolean
final int
hashCode()
boolean
isNull
(int index) static LongArray
of
(long... values) static LongArray
static LongArray
static LongArray
of
(Collection<Long> values) static LongArray
ofUnsafe
(long... values) final int
size()
value
(int index) final long[]
values()
The raw longs.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 long[] values()The raw longs. Must not be modified.- Returns:
- the longs, 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()
-