Class CaseInsensitiveStringMap<T>
java.lang.Object
org.mvplugins.multiverse.core.utils.CaseInsensitiveStringMap<T>
- Type Parameters:
T- the type of mapped values
@AvailableSince("5.5")
public class CaseInsensitiveStringMap<T>
extends Object
implements Map<String,T>
A map with case-insensitive String keys. All keys are stored in lower-case form.
- Since:
- 5.5
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()@Nullable Tvoidintsize()@NonNull Collection<T> values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
CaseInsensitiveStringMap
public CaseInsensitiveStringMap()
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,T>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,T>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-