Interface PropertyMapper.Source.Adapter<T,R>

Type Parameters:
T - the source type
R - the result type
Enclosing class:
PropertyMapper.Source<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.Adapter<T,R>
Adapter used to adapt a value and possibly return a null result.
Since:
4.0.0
Author:
Phillip Webb, Artsiom Yudovin, Chris Bono, Moritz Halbritter
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable R
    adapt(T value)
    Adapt the given value.
  • Method Details

    • adapt

      @Nullable R adapt(T value)
      Adapt the given value.
      Parameters:
      value - the value to adapt
      Returns:
      an adapted value or null