public class VariantSetting<T> extends Object
Modifier and Type | Class and Description |
---|---|
class |
VariantSetting.Value |
Modifier and Type | Field and Description |
---|---|
private String |
key |
private Function<T,JsonElement> |
writer |
Constructor and Description |
---|
VariantSetting(String key,
Function<T,JsonElement> writer) |
private final String key
private final Function<T,JsonElement> writer
public VariantSetting(String key, Function<T,JsonElement> writer)
public VariantSetting.Value evaluate(T value)