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