@Test public void testGetElement() { System.out.println("getElement"); long value = 100L; AbstractGraphPanelChartElement expResult = new GraphPanelChartAverageElement(10); instance.add(value, 10); AbstractGraphPanelChartElement result = instance.getElement(value); Assert.assertTrue(instance.getElement(value).getValue() == expResult.getValue()); }
@Override public AbstractGraphPanelChartElement getElement(long value) { return values.get(value); }
GraphRowAverages extends AbstractGraphRow { @Override public AbstractGraphPanelChartElement getElement(long value) { return values.get(value); } }
GraphRowAverages extends AbstractGraphRow { @Override public AbstractGraphPanelChartElement getElement(long value) { return values.get(value); } GraphRowAverages(); }
GraphRowAverages extends AbstractGraphRow { @Override public AbstractGraphPanelChartElement getElement(long value) { return values.get(value); } GraphRowAverages(); @Override void add(long xVal, double yVal); @Override Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator(); @Override int size(); @Override AbstractGraphPanelChartElement getElement(long value); @Override AbstractGraphPanelChartElement getLowerElement(long value); }
GraphRowAverages extends AbstractGraphRow { @Override public AbstractGraphPanelChartElement getElement(long value) { return values.get(value); } GraphRowAverages(); @Override void add(long xVal, double yVal); @Override Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator(); @Override int size(); @Override AbstractGraphPanelChartElement getElement(long value); @Override AbstractGraphPanelChartElement getLowerElement(long value);  }