@Test public void testDateField() { DateField field = new DateField(11); Date date = new Date(); field.setValue(date); assertEquals(11, field.getTag()); assertEquals(date, field.getValue()); field = new DateField(11, date); assertEquals(11, field.getTag()); assertEquals(date, 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);  }