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
ConstructorDescriptionPlayerMapAdapter(Player player)
a player object to make available using the map interface -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey(Object arg0)
boolean
containsValue(Object arg0)
entrySet()
boolean
isEmpty()
keySet()
void
int
size()
values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
containsKey
in interfaceMap<String,String>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,String>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-