- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<K,java.lang.Integer>
-
- com.fs.starfarer.api.util.CountingMap<K>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
-
Method Summary
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, removeEldestEntry
-
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
-
-
Constructor Detail
-
CountingMap
public CountingMap()
-
Method Detail
-
add
public void add(K key)
-
sub
public void sub(K key)
-
getTotal
public int getTotal()
-
getLargest
public K getLargest()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.