public void addValue(String functionColumnName,BigDecimal functionValue){
  if (!isFunctionColumn(functionColumnName))   return;
  for (int i=0; i < m_groups.size(); i++) {
    String groupColumnName=(String)m_groups.get(i);
    String key=groupColumnName + DELIMITER + functionColumnName;
    PrintDataFunction pdf=(PrintDataFunction)m_groupFunction.get(key);
    if (pdf == null)     pdf=new PrintDataFunction();
    pdf.addValue(functionValue);
    m_groupFunction.put(key,pdf);
  }
}

public void addValue ( String functionColumnName , BigDecimal functionValue ) { if ( ! isFunctionColumn ( functionColumnName ) ) return ; for ( int i = 0 ; i < m_groups . size ( ) ; i ++ ) { String groupColumnName = ( String ) m_groups . get ( i ) ; String key = groupColumnName + DELIMITER + functionColumnName ; PrintDataFunction pdf = ( PrintDataFunction ) m_groupFunction . get ( key ) ; if ( pdf == null ) pdf = new PrintDataFunction ( ) ; pdf . addValue ( functionValue ) ; m_groupFunction . put ( key , pdf ) ; } }
add value to groups
