Interface FieldData.Deserializer<I>

Type Parameters:
I - intermediate data type
Enclosing class:
FieldData<I,O>
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

    Modifier and Type
    Method
    Description
    void
    accept(I intermediate, @Nullable Object newValue, Supplier<@Nullable Object> implicitInitializer)
    Apply either a new value or implicit initializer to the intermediate object as appropriate.
  • Method Details

    • accept

      void accept(I intermediate, @Nullable Object newValue, Supplier<@Nullable Object> implicitInitializer)
      Apply either a new value or implicit initializer to the intermediate object as appropriate.
      Parameters:
      intermediate - the intermediate container
      newValue - new value to store
      implicitInitializer - the implicit initializer
      Since:
      4.0.0