Code example for TreeMap

Methods: keySet

0
  /** 
   *  
   * @return the set of the unique objects 
   */ 
  public Set getUniqueItems() {
    return uniqItems.keySet();
  } 
 
  /** 
   * reset the aggregator 
   */ 
  public void reset() { 
    uniqItems = new TreeMap<Object, Object>();
  } 
 
  /** 
   * @return return an array of the unique objects. The return value is 
   *         expected to be used by the a combiner. 
   */ 
  public ArrayList getCombinerOutput() {
    Object key = null;