Package com.takenoko.stats
Class BotStatistics
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<BotManager,
SingleBotStatistics>
This class stores extended statistics for each BotManager
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBotManager
(BotManager botManager) void
addBotManagers
(List<BotManager> botManagers) void
incrementLosses
(BotManager botManager) void
incrementWins
(BotManager botManager) toString()
void
updateScore
(BotManager botManager, int toAdd) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Constructor Details
-
BotStatistics
public BotStatistics()
-
-
Method Details
-
addBotManager
-
addBotManagers
-
incrementWins
-
incrementLosses
-
updateScore
-
toString
- Overrides:
toString
in classAbstractMap<BotManager,
SingleBotStatistics>
-