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 creates
ConcurrentMap
instances.-
Method Summary
Modifier and Type Method Description <K, V> @NonNull ConcurrentMap<K,V>
create()
Create a new map instance for the given types
-
Method Details
-
create
Create a new map instance for the given types- Type Parameters:
K
- The keyV
- The value- Returns:
- A new map instance
-