public static class ModelDataMap.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ModelProperty<?>,java.lang.Object> |
defaults |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ModelDataMap |
build() |
<T> ModelDataMap.Builder |
withInitial(ModelProperty<T> prop,
T data) |
ModelDataMap.Builder |
withProperty(ModelProperty<?> prop) |
private final java.util.Map<ModelProperty<?>,java.lang.Object> defaults
public ModelDataMap.Builder withProperty(ModelProperty<?> prop)
public <T> ModelDataMap.Builder withInitial(ModelProperty<T> prop, T data)
public ModelDataMap build()