protected void writeFields(
     final ConcreteClass instance, final ObjectOutputStream objectOutputStream) {
   objectOutputStream.writeInt(instance.value);
 }
Esempio n. 2
0
 protected void writeDate(final Date date, ObjectOutputStream objectOutputStream) {
   objectOutputStream.writeLong(date.getTime());
 }