Package io.deephaven.qst.array
Class ShortArray.Builder
java.lang.Object
io.deephaven.qst.array.ShortArray.Builder
- All Implemented Interfaces:
ArrayBuilder<Short,
ShortArray, ShortArray.Builder>
- Enclosing class:
- ShortArray
public static class ShortArray.Builder
extends Object
implements ArrayBuilder<Short,ShortArray,ShortArray.Builder>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ShortArray.Builder
add
(short item) final ShortArray.Builder
add
(short... items) final ShortArray.Builder
final ShortArray.Builder
final ShortArray.Builder
final ShortArray
build()
-
Field Details
-
size
protected int size -
array
protected short[] array
-
-
Method Details
-
add
-
add
-
add
- Specified by:
add
in interfaceArrayBuilder<Short,
ShortArray, ShortArray.Builder>
-
add
- Specified by:
add
in interfaceArrayBuilder<Short,
ShortArray, ShortArray.Builder>
-
add
- Specified by:
add
in interfaceArrayBuilder<Short,
ShortArray, ShortArray.Builder>
-
build
- Specified by:
build
in interfaceArrayBuilder<Short,
ShortArray, ShortArray.Builder>
-