com.jaxfront.core.util
Class StringCounter

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by com.jaxfront.core.util.StringCounter
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class StringCounter
extends java.util.HashMap

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
StringCounter()
           
 
Method Summary
 void add(java.lang.String key)
           
 int getCount(java.lang.String key)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

StringCounter

public StringCounter()
Method Detail

add

public void add(java.lang.String key)

getCount

public int getCount(java.lang.String key)

main

public static void main(java.lang.String[] args)