public final class ArrayBuilder
extends java.lang.Object
LDValue.buildArray()
. Builder methods are not thread-safe.Constructor and Description |
---|
ArrayBuilder() |
Modifier and Type | Method and Description |
---|---|
ArrayBuilder |
add(LDValue value)
Adds a new element to the builder.
|
LDValue |
build()
Returns an array containing the builder's current elements.
|
public ArrayBuilder add(LDValue value)
value
- the new elementpublic LDValue build()
build()
.LDValue
that is an array