Interface KeyMapper<K,​T>

  • Type Parameters:
    K - the type class for the key
    T - the type class for the value
    All Superinterfaces:
    Serializable

    public interface KeyMapper<K,​T>
    extends Serializable

    Interface defining a policy for mapping a key to a value.

    This interface is used in ListMap to associates keys to values when adding and getting elements.

    Author:
    Fugerit
    • Method Detail

      • createKey

        K createKey​(T key)