Ejemplo n.º 1
0
 /**
  * Append a field to the Row. The field needs also be added to the format. Note that this is a bit
  * inefficient, as a new RowFormat needs to be created, as RowFormat objects are immutable(if that
  * were not the case, we would just run into another kinds of problems!). As a work-around for
  * this inefficiency, a method should be devised to add the field and set the new format at the
  * same time, so that format objects might be shared.
  */
 public void appendField(String pFieldName, Object pData) {
   mFormat = mFormat.addFieldToEnd(pFieldName);
   add(pData);
 }