Interface Mapper<K,​V>


public interface Mapper<K,​V>

Used with the @Mapify annotation to convert collections (usually of embedded objects) into maps with arbitrary keys.

Author:
Jeff Schnitzer
  • Method Summary

    Modifier and Type
    Method
    Description
    getKey​(V value)
    Get whatever should be used as the map key given the specified value
  • Method Details

    • getKey

      K getKey(V value)
      Get whatever should be used as the map key given the specified value