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.
@FunctionalInterface public interface MapFactory
A factory which creates thread-safe map instances.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K,V>
java.util.Map<K,V>create()
Create a new map instance for the given types.
-
-
-
Method Detail
-
create
<K,V> java.util.Map<K,V> create()
Create a new map instance for the given types.- Type Parameters:
K
- key typeV
- value type- Returns:
- a new map instance
- Since:
- 4.0.0
-
-