org.annotation.util
Class CountedSet

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.annotation.util.CountedSet
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class CountedSet
extends java.util.HashMap

See Also:
Serialized Form

Constructor Summary
CountedSet()
           
CountedSet(int s)
           
 
Method Summary
 void add(java.lang.Object o)
           
 int getCount(java.lang.Object o)
           
 void setCount(java.lang.Object o, int c)
           
 void subtract(java.lang.Object o)
           
 void write(java.lang.String fileName, int countCutoff)
           
 void write(java.lang.String fileName, int countCutoff, java.lang.String delim)
           
 void write(java.lang.String fileName, int countCutoff, java.lang.String delim, java.lang.String encoding)
           
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CountedSet

public CountedSet()

CountedSet

public CountedSet(int s)
Method Detail

add

public void add(java.lang.Object o)

subtract

public void subtract(java.lang.Object o)

setCount

public void setCount(java.lang.Object o,
                     int c)

getCount

public int getCount(java.lang.Object o)

write

public void write(java.lang.String fileName,
                  int countCutoff)

write

public void write(java.lang.String fileName,
                  int countCutoff,
                  java.lang.String delim)

write

public void write(java.lang.String fileName,
                  int countCutoff,
                  java.lang.String delim,
                  java.lang.String encoding)


Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.