<T> ConfigValue<T> |
Config.as(GenericType<T> genericType) |
|
<T> ConfigValue<T> |
Config.as(Class<T> type) |
|
<T> ConfigValue<T> |
Config.as(Function<Config,T> mapper) |
Typed value as a ConfigValue created from factory method.
|
<N> ConfigValue<N> |
ConfigValue.as(Function<T,N> mapper) |
Convert this ConfigValue to a different type using a mapper function.
|
default ConfigValue<Boolean> |
Config.asBoolean() |
Boolean typed value.
|
default ConfigValue<Double> |
Config.asDouble() |
Double typed value.
|
default ConfigValue<Integer> |
Config.asInt() |
Integer typed value.
|
<T> ConfigValue<List<T>> |
Config.asList(Class<T> type) |
Returns list of specified type.
|
<T> ConfigValue<List<T>> |
Config.asList(Function<Config,T> mapper) |
Returns this node as a list converting each list value using the provided mapper.
|
default ConfigValue<Long> |
Config.asLong() |
Long typed value.
|
ConfigValue<Map<String,String>> |
Config.asMap() |
Transform all leaf nodes (values) into Map instance.
|
default ConfigValue<Config> |
Config.asNode() |
|
ConfigValue<List<Config>> |
Config.asNodeList() |
|
default ConfigValue<String> |
Config.asString() |
String typed value.
|
static <T> ConfigValue<T> |
ConfigValues.empty() |
Simple empty value that can be used e.g.
|
static <T> ConfigValue<T> |
ConfigValues.simpleValue(T value) |
Simple value that can be used e.g.
|