@Test public void testNext() { System.out.println("next"); GraphRowSumValues instance = new GraphRowSumValues(); instance.add(1, 1); Iterator<Entry<Long, AbstractGraphPanelChartElement>> it = instance.iterator(); Entry result = it.next(); Assert.assertNotNull(result); }
public Entry<Long, AbstractGraphPanelChartElement> next() { Entry<Long, GraphPanelChartSumElement> entry = iterator.next(); GraphPanelChartSumElement ret = entry.getValue(); ExactEntry retValue = null; if (isRollingSum) { rollingSum += ret.getValue(); retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(rollingSum)); } else { retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(ret.getValue())); } return retValue; }
GraphRowSumValues extends AbstractGraphRow implements Iterator<Entry<Long, AbstractGraphPanelChartElement>> { public Entry<Long, AbstractGraphPanelChartElement> next() { Entry<Long, GraphPanelChartSumElement> entry = iterator.next(); GraphPanelChartSumElement ret = entry.getValue(); ExactEntry retValue = null; if (isRollingSum) { rollingSum += ret.getValue(); retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(rollingSum)); } else { retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(ret.getValue())); } return retValue; } }
GraphRowSumValues extends AbstractGraphRow implements Iterator<Entry<Long, AbstractGraphPanelChartElement>> { public Entry<Long, AbstractGraphPanelChartElement> next() { Entry<Long, GraphPanelChartSumElement> entry = iterator.next(); GraphPanelChartSumElement ret = entry.getValue(); ExactEntry retValue = null; if (isRollingSum) { rollingSum += ret.getValue(); retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(rollingSum)); } else { retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(ret.getValue())); } return retValue; } GraphRowSumValues();  GraphRowSumValues(boolean doRollingSum); }
GraphRowSumValues extends AbstractGraphRow implements Iterator<Entry<Long, AbstractGraphPanelChartElement>> { public Entry<Long, AbstractGraphPanelChartElement> next() { Entry<Long, GraphPanelChartSumElement> entry = iterator.next(); GraphPanelChartSumElement ret = entry.getValue(); ExactEntry retValue = null; if (isRollingSum) { rollingSum += ret.getValue(); retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(rollingSum)); } else { retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(ret.getValue())); } return retValue; } GraphRowSumValues();  GraphRowSumValues(boolean doRollingSum); @Override void setExcludeOutOfRangeValues(boolean excludeOutOfRangeValues); @Override void add(long xVal, double yVal); Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator(); boolean hasNext(); Entry<Long, AbstractGraphPanelChartElement> next(); void remove(); @Override int size(); @Override long getMaxX(); @Override AbstractGraphPanelChartElement getElement(long value); }
GraphRowSumValues extends AbstractGraphRow implements Iterator<Entry<Long, AbstractGraphPanelChartElement>> { public Entry<Long, AbstractGraphPanelChartElement> next() { Entry<Long, GraphPanelChartSumElement> entry = iterator.next(); GraphPanelChartSumElement ret = entry.getValue(); ExactEntry retValue = null; if (isRollingSum) { rollingSum += ret.getValue(); retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(rollingSum)); } else { retValue = new ExactEntry(entry.getKey(), new GraphPanelChartSumElement(ret.getValue())); } return retValue; } GraphRowSumValues();  GraphRowSumValues(boolean doRollingSum); @Override void setExcludeOutOfRangeValues(boolean excludeOutOfRangeValues); @Override void add(long xVal, double yVal); Iterator<Entry<Long, AbstractGraphPanelChartElement>> iterator(); boolean hasNext(); Entry<Long, AbstractGraphPanelChartElement> next(); void remove(); @Override int size(); @Override long getMaxX(); @Override AbstractGraphPanelChartElement getElement(long value);  }