@Test public void testCharField() { CharField field = new CharField(11); field.setValue('x'); assertEquals(11, field.getTag()); assertEquals('x', field.getValue()); field.setValue(Character.valueOf('X')); assertEquals(11, field.getTag()); assertEquals('X', field.getValue()); field = new CharField(22, 'a'); assertEquals(22, field.getTag()); assertEquals('a', field.getValue()); field = new CharField(33, Character.valueOf('A')); assertEquals(33, field.getTag()); assertEquals('A', field.getValue()); }
public int getTag() { return tag; }
Field implements Serializable { public int getTag() { return tag; } }
Field implements Serializable { public int getTag() { return tag; } Field(int field, T object); }
Field implements Serializable { public int getTag() { return tag; } Field(int field, T object); int getTag(); int getField(); T getObject(); @Override String toString(); boolean equals(Object object); int hashCode(); void setTag(int tag); }
Field implements Serializable { public int getTag() { return tag; } Field(int field, T object); int getTag(); int getField(); T getObject(); @Override String toString(); boolean equals(Object object); int hashCode(); void setTag(int tag);  }