Package io.deephaven.qst.array
Class ByteArray
- All Implemented Interfaces:
Array<Byte>,PrimitiveArray<Byte>
A
ByteType array.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.deephaven.qst.array.PrimitiveArray
PrimitiveArray.Visitor<R> -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteArray.Builderbuilder(int initialSize) final ByteTypestatic ByteArrayempty()final booleanfinal inthashCode()booleanisNull(int index) static ByteArrayof(byte... values) static ByteArraystatic ByteArraystatic ByteArrayof(Collection<Byte> values) static ByteArrayofUnsafe(byte... values) final intsize()value(int index) final byte[]values()The raw bytes.final <R> Rwalk(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 bytes. Must not be modified.- Returns:
- the bytes, do not modify
-
value
- Returns:
- the boxed value at
index
-
isNull
public boolean isNull(int index) - Returns:
- whether the value at
indexisnull
-
size
public final int size() -
componentType
-
walk
-
equals
-
hashCode
public final int hashCode()
-