private static int getFieldID(String name) { Integer res = (Integer) fields.get(name); return (res != null) ? res.intValue() : FIELD_UNDEFINED; }
private static void addField(String name, int fieldId) { fields.put(name, new Integer(fieldId)); }