Interface ConfigDataFunction<T,R>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ConfigDataFunction<T,R>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <V> @NotNull ConfigDataFunction<T,V>
andThen(@NotNull ConfigDataFunction<? super R,V> after)
static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Boolean>
booleanValue()
static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Byte>
byteValue()
static <V> @NotNull ConfigDataFunction<java.lang.String,V>
castFromString(java.lang.Class<V> valueClass)
static <V> @NotNull ConfigDataFunction<java.lang.Object,V>
castObject(java.lang.Class<V> valueClass)
static <T> @NotNull ConfigDataFunction<T,java.lang.String>
castToString()
static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Double>
doubleValue()
static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Float>
floatValue()
static <T> @NotNull ConfigDataFunction<T,T>
identity()
static <T> @NotNull ConfigDataFunction<T,T>
identity(java.lang.Class<T> type)
static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Integer>
intValue()
static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Long>
longValue()
R
parse(T data)
static <V> @NotNull ConfigDataFunction<java.lang.String,V>
parseString(java.lang.Class<V> valueClass)
static <T,V>
@NotNull ConfigDataFunction<T,V>required()
static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Short>
shortValue()
static <T> @NotNull ConfigDataFunction<T,java.lang.Object>
toObject()
-
-
-
Method Detail
-
andThen
@NotNull default <V> @NotNull ConfigDataFunction<T,V> andThen(@NotNull @NotNull ConfigDataFunction<? super R,V> after)
-
identity
@Contract(pure=true) @NotNull static <T> @NotNull ConfigDataFunction<T,T> identity()
-
identity
@Contract(pure=true) @NotNull static <T> @NotNull ConfigDataFunction<T,T> identity(java.lang.Class<T> type)
-
required
@Contract(pure=true) @NotNull static <T,V> @NotNull ConfigDataFunction<T,V> required()
-
toObject
@Contract(pure=true) @NotNull static <T> @NotNull ConfigDataFunction<T,java.lang.Object> toObject()
-
castObject
@Contract(pure=true) @NotNull static <V> @NotNull ConfigDataFunction<java.lang.Object,V> castObject(java.lang.Class<V> valueClass)
-
castFromString
@Contract(pure=true) @NotNull static <V> @NotNull ConfigDataFunction<java.lang.String,V> castFromString(java.lang.Class<V> valueClass)
-
castToString
@Contract(pure=true) @NotNull static <T> @NotNull ConfigDataFunction<T,java.lang.String> castToString()
-
parseString
@Contract(pure=true) @NotNull static <V> @NotNull ConfigDataFunction<java.lang.String,V> parseString(java.lang.Class<V> valueClass)
-
intValue
@Contract(pure=true) @NotNull static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Integer> intValue()
-
shortValue
@Contract(pure=true) @NotNull static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Short> shortValue()
-
doubleValue
@Contract(pure=true) @NotNull static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Double> doubleValue()
-
byteValue
@Contract(pure=true) @NotNull static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Byte> byteValue()
-
floatValue
@Contract(pure=true) @NotNull static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Float> floatValue()
-
longValue
@Contract(pure=true) @NotNull static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Long> longValue()
-
booleanValue
@Contract(pure=true) @NotNull static @NotNull ConfigDataFunction<java.lang.Object,java.lang.Boolean> booleanValue()
-
-