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