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 Detail

      • getKey

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