1 package com.calipso.reportgenerator.reportmanager; 2 3 import com.calipso.reportgenerator.reportcalculator.DataTreeIterator; 4 5 import java.util.Collection ; 6 7 10 public class StaticReportDataIterator extends ReportDataIterator { 11 private DataTreeIterator staticDataIterator; 12 13 public StaticReportDataIterator(DataTreeIterator staticDataIterator) { 14 this.staticDataIterator = staticDataIterator; 15 } 16 17 public DataTreeIterator getStaticDataIterator() { 18 return staticDataIterator; 19 } 20 21 public void advance() { 22 getStaticDataIterator().advance(); 23 } 24 25 public boolean hasNext() { 26 return getStaticDataIterator().hasNext(); 27 } 28 29 public Object [] current() { 30 return getStaticDataIterator().current(); 31 } 32 33 public Collection currentTotals() { 34 return getStaticDataIterator().currentTotals(); 35 } 36 37 38 } 39 | Popular Tags |