Interface FieldData.Deserializer<I>
-
- Type Parameters:
I
- intermediate data type
- 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 static interface FieldData.Deserializer<I>
A deserialization handler to appropriately place object data into fields.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(I intermediate, @Nullable java.lang.Object newValue, java.util.function.Supplier<@Nullable java.lang.Object> implicitInitializer)
Apply either a new value or implicit initializer to theintermediate
object as appropriate.
-
-
-
Method Detail
-
accept
void accept(I intermediate, @Nullable java.lang.Object newValue, java.util.function.Supplier<@Nullable java.lang.Object> implicitInitializer)
Apply either a new value or implicit initializer to theintermediate
object as appropriate.- Parameters:
intermediate
- the intermediate containernewValue
- new value to storeimplicitInitializer
- the implicit initializer- Since:
- 4.0.0
-
-