@Override public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeUTF(libelle); out.writeUTF(emplacement); out.writeObject(allees); }
@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(); }