Class PlayerMapAdapter
java.lang.Object
games.stendhal.server.entity.player.PlayerMapAdapter
makes player properties available using the Map interface
- Author:
- hendrik
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerMapAdapter(Player player) a player object to make available using the map interface -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object arg0) booleancontainsValue(Object arg0) entrySet()booleanisEmpty()keySet()voidintsize()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
-
PlayerMapAdapter
a player object to make available using the map interface- Parameters:
player- Player
-
-
Method Details
-
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,String>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,String>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-