Ejemplo n.º 1
0
 public Object get(String pFieldName) {
   if (!(mFormat.containsField(pFieldName))) {
     throw new RuntimeException("No such field: " + pFieldName);
   }
   int fieldInd = mFormat.getFieldIndex(pFieldName);
   return get(fieldInd);
 }
Ejemplo n.º 2
0
 public void set(String pFieldName, Object pVal) {
   if (!(mFormat.containsField(pFieldName))) {
     throw new RuntimeException("No such field: " + pFieldName);
   }
   int fieldInd = mFormat.getFieldIndex(pFieldName);
   set(fieldInd, pVal);
 }
Ejemplo n.º 3
0
 public void removeField(String pFieldName) {
   int index = mFormat.getFieldIndex(pFieldName);
   mFormat = mFormat.removeField(index);
   remove(index);
 }