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