public static interface ByteImmutableArray.Builder
ByteImmutableArray. The builder can be appended
with values using the append(byte)-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 bytes as well as a very small amount.
| Modifier and Type | Method and Description |
|---|---|
ByteImmutableArray.Builder |
append(byte value)
Append an value to the builder.
|
ByteImmutableArray |
build()
Builds the array.
|
ByteImmutableArray.Builder append(byte value)
value - the value to appendByteImmutableArray build()
Copyright © 2016. All rights reserved.