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

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

    Modifier and Type
    Method
    Description
    create(@Nullable T value)
    Create a new instance for the given nullable value.
  • Method Details

    • create

      R create(@Nullable T value)
      Create a new instance for the given nullable value.
      Parameters:
      value - the value used to create the instance (may be null)
      Returns:
      the resulting instance