public static interface ShortImmutableArray.Builder
ShortImmutableArray. The builder can be appended
with values using the append(short)-method until it is finalized
using the build()-method. The backing implementation will be
decided once the array is built.
The implementation of Builder is intended to handle a very large
amount of shorts as well as a very small amount.
| Modifier and Type | Method and Description |
|---|---|
ShortImmutableArray.Builder |
append(short value)
Append an value to the builder.
|
ShortImmutableArray |
build()
Builds the array.
|
ShortImmutableArray.Builder append(short value)
value - the value to appendShortImmutableArray build()
Copyright © 2016. All rights reserved.