@Test public void testGetElement() { System.out.println("getElement"); long value = 500L; GraphRowPercentiles instance = new GraphRowPercentiles(); for (int i = 0; i < expectedCount; i++) { instance.add(i, i); } assertEquals(expectedCount, instance.size()); instance.iterator(); AbstractGraphPanelChartElement result = instance.getElement(value); assertEquals(32, result.getValue(), 0.001); }
@Override public AbstractGraphPanelChartElement getElement(long value) { return percentiles.get(value); }
GraphRowPercentiles extends GraphRowSumValues { @Override public AbstractGraphPanelChartElement getElement(long value) { return percentiles.get(value); } }
GraphRowPercentiles extends GraphRowSumValues { @Override public AbstractGraphPanelChartElement getElement(long value) { return percentiles.get(value); } GraphRowPercentiles(); }
GraphRowPercentiles extends GraphRowSumValues { @Override public AbstractGraphPanelChartElement getElement(long value) { return percentiles.get(value); } 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 AbstractGraphPanelChartElement getElement(long value) { return percentiles.get(value); } 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);  }