Package ninja.leaping.configurate.util
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 createsConcurrentMap
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K,V>
@NonNull ConcurrentMap<K,V>create()
Create a new map instance for the given types
-
-
-
Method Detail
-
create
<K,V> @NonNull ConcurrentMap<K,V> create()
Create a new map instance for the given types- Type Parameters:
K
- The keyV
- The value- Returns:
- A new map instance
-
-