Interface ValueDerivingMapFactory.ValueDeriver<O,V>

Enclosing class:
ValueDerivingMapFactory<O,K,V>

public static interface ValueDerivingMapFactory.ValueDeriver<O,V>
An interface for objects that derive the value for a specific entry in the map.
  • Method Summary

    Modifier and Type
    Method
    Description
    deriveValue(O source)
    Derives a value from the given source.
  • Method Details

    • deriveValue

      V deriveValue(O source)
      Derives a value from the given source.
      Parameters:
      source - the source
      Returns:
      the derived value