@Test public void testIterator() { System.out.println("iterator"); GraphRowPercentiles instance = new GraphRowPercentiles(); Iterator result = instance.iterator(); Assert.assertNotNull(result); Assert.assertTrue(result.hasNext()); int cnt = 0; while (result.hasNext()) { Assert.assertNotNull(result.next()); cnt++; } Assert.assertEquals(expectedCount, cnt); }
@Override public Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator() { calculatePercentiles(); return percentiles.entrySet().iterator(); }
GraphRowPercentiles extends GraphRowSumValues { @Override public Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator() { calculatePercentiles(); return percentiles.entrySet().iterator(); } }
GraphRowPercentiles extends GraphRowSumValues { @Override public Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator() { calculatePercentiles(); return percentiles.entrySet().iterator(); } GraphRowPercentiles(); }
GraphRowPercentiles extends GraphRowSumValues { @Override public Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator() { calculatePercentiles(); return percentiles.entrySet().iterator(); } GraphRowPercentiles(); @Override void add(long xVal, double yVal); @Override long getMinX(); @Override long getMaxX(); @Override Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator(); @Override int size(); @Override AbstractGraphPanelChartElement getElement(long value); }
GraphRowPercentiles extends GraphRowSumValues { @Override public Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator() { calculatePercentiles(); return percentiles.entrySet().iterator(); } GraphRowPercentiles(); @Override void add(long xVal, double yVal); @Override long getMinX(); @Override long getMaxX(); @Override Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator(); @Override int size(); @Override AbstractGraphPanelChartElement getElement(long value);  }