Interface IExtractor<T,K>

Type Parameters:
T -
K -

public interface IExtractor<T,K>
Generic extractor functional interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Given an object e of type T, provide the associated "key" of type K.
  • Method Details

    • extract

      K extract(T e)
      Given an object e of type T, provide the associated "key" of type K.
      Parameters:
      e - an input object
      Returns:
      the output object