Пример #1
0
 @Override
 public void writeExternal(ObjectOutput out) throws IOException {
   super.writeExternal(out);
   out.writeUTF(libelle);
   out.writeUTF(emplacement);
   out.writeObject(allees);
 }
Пример #2
0
 @SuppressWarnings("unchecked")
 @Override
 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
   super.readExternal(in);
   libelle = in.readUTF();
   emplacement = in.readUTF();
   allees = (ArrayList<String>) in.readObject();
 }