Code example for ConcurrentSkipListMap

0
        Graphics g = new TestGraphics();
        GraphPanelChart instance = new GraphPanelChart();
        instance.setSize(500, 500);
        instance.getChartSettings().setDrawFinalZeroingLines(false);
 
        final ConcurrentSkipListMap<String, AbstractGraphRow> rows = new ConcurrentSkipListMap<String, AbstractGraphRow>();
        instance.setRows(rows);
        instance.paintComponent(g);
    } 
 
    /** 
     * Test of setRows method, of class GraphPanelChart. 
     */ 
    @Test 
    public void testSetRows() { 
        System.out.println("setRows");
        ConcurrentSkipListMap<String, AbstractGraphRow> aRows = null;
        GraphPanelChart instance = new GraphPanelChart();
        instance.setRows(aRows);
    }