Interface MapFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

A factory which creates thread-safe map instances.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <K, V> Map<K,V>
    Create a new map instance for the given types.
  • Method Details

    • create

      <K, V> Map<K,V> create()
      Create a new map instance for the given types.
      Type Parameters:
      K - key type
      V - value type
      Returns:
      a new map instance
      Since:
      4.0.0