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 TypeMethodDescriptionvoidaddBotManager(BotManager botManager) voidaddBotManagers(List<BotManager> botManagers) voidincrementLosses(BotManager botManager) voidincrementWins(BotManager botManager) toString()voidupdateScore(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, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode
-
Constructor Details
-
BotStatistics
public BotStatistics()
-
-
Method Details
-
addBotManager
-
addBotManagers
-
incrementWins
-
incrementLosses
-
updateScore
-
toString
- Overrides:
toStringin classAbstractMap<BotManager,SingleBotStatistics>
-