Interface DelegatedMap<K,​V>

  • Type Parameters:
    K - The key type
    V - The value type
    All Superinterfaces:
    Map<K,​V>
    All Known Subinterfaces:
    DelegatedConcurrentMap<K,​V>
    All Known Implementing Classes:
    TypeFriendlyDelegatedConcurrentMap, TypeFriendlyDelegatedMap

    public interface DelegatedMap<K,​V>
    extends Map<K,​V>
    A Map interface that delegates all calls by default to the contained Map.

    This is useful for situations where the implementation of the Map is the new behavior, not the implementation of the individual methods.

    The delegate Map is whatever is returned from getDelegate().