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