Code example for ConcurrentSkipListMap

Methods: put, size

0
   @Override 
   public void add(long xVal, double yVal) 
   { 
      GraphPanelChartExactElement el; 
      el = new GraphPanelChartExactElement(xVal, yVal); 
      values.put((long) values.size(), el); 
 
      super.add(xVal, yVal); 
   } 
 
   /** 
    * 
    * @return 
    */ 
   @Override 
   public Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator() 
   { 
      iterator = values.entrySet().iterator(); 
      return this; 
   }