Interface GenericMap<K>

Type Parameters:
K - The key type of the map.
All Superinterfaces:
Map<K,Object>
All Known Implementing Classes:
GenericHashMap, GenericLinkedHashMap, GenericMapWrapper

@API(status=STABLE) public interface GenericMap<K> extends Map<K,Object>
Base interface for all generic map implementations, which provides compatibility to Map and adds some extra functionality that makes multi-type maps easier to implement/use.
Since:
18/06/2022
  • Method Details

    • getAs

      @Nullable <V> V getAs(K key)
    • removeAs

      @Nullable <V> V removeAs(@Nullable K key)