Пример #1
0
 // Serialization support: probably never be used but the transient
 // things should be set correctly just in case:
 private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
   in.defaultReadObject();
   init();
 }
Пример #2
0
 /** Restores a serialized object. */
 private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException {
   s.defaultReadObject();
   valueDrawer = defaultValueDrawer;
 }