public static final class RecordBuilder.MapBuilder<T> extends RecordBuilder.AbstractUniversalBuilder<T,ImmutableMap.Builder<T,T>>
RecordBuilder.AbstractBuilder<T,R>, RecordBuilder.AbstractStringBuilder<T,R>, RecordBuilder.AbstractUniversalBuilder<T,R>, RecordBuilder.MapBuilder<T>
builder
Constructor and Description |
---|
MapBuilder(DynamicOps<T> ops) |
Modifier and Type | Method and Description |
---|---|
protected ImmutableMap.Builder<T,T> |
append(T key,
T value,
ImmutableMap.Builder<T,T> builder) |
protected DataResult<T> |
build(ImmutableMap.Builder<T,T> builder,
T prefix) |
protected ImmutableMap.Builder<T,T> |
initBuilder() |
add, add, add
build, mapError, ops, setLifecycle, withErrorsFrom
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, add, build
public MapBuilder(DynamicOps<T> ops)
protected ImmutableMap.Builder<T,T> initBuilder()
initBuilder
in class RecordBuilder.AbstractBuilder<T,ImmutableMap.Builder<T,T>>
protected ImmutableMap.Builder<T,T> append(T key, T value, ImmutableMap.Builder<T,T> builder)
append
in class RecordBuilder.AbstractUniversalBuilder<T,ImmutableMap.Builder<T,T>>
protected DataResult<T> build(ImmutableMap.Builder<T,T> builder, T prefix)
build
in class RecordBuilder.AbstractBuilder<T,ImmutableMap.Builder<T,T>>