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