public abstract static class Launcher.MapWithAlias<Item> extends HashMap<String,Item>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MapWithAlias() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
Item |
get(Object key) |
abstract String[] |
getAliases(Item item) |
String |
getMainKey(String key) |
boolean |
isAlias(String key) |
Item |
put(String key,
Item value) |
void |
putAll(Map<? extends String,? extends Item> m) |
Item |
remove(Object key) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public boolean isAlias(String key)
public boolean containsKey(Object key)
containsKey
in interface Map<String,Item>
containsKey
in class HashMap<String,Item>