Interface PropertyMapper.Source.Always.Mapper<R extends @Nullable Object, T>

Type Parameters:
R - the result type
T - the source type
Enclosing class:
PropertyMapper.Source.Always<T>
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 PropertyMapper.Source.Always.Mapper<R extends @Nullable Object, T>
Mapper that supports nullable values.
Since:
4.0.0
Author:
Phillip Webb, Artsiom Yudovin, Chris Bono, Moritz Halbritter
  • Method Summary

    Modifier and Type
    Method
    Description
    map(R instance, @Nullable T value)
    Map a existing instance for the given nullable value.
  • Method Details

    • map

      R map(R instance, @Nullable T value)
      Map a existing instance for the given nullable value.
      Parameters:
      instance - the existing instance
      value - the value to map (may be null)
      Returns:
      the resulting mapped instance