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