Code example for ObjectInput

Methods: readObject

0
   public void allowSerialization() { 
      if (lockable) latch.open();
   } 
 
   public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
      value = (String) in.readObject();
   } 
} 
Connect your IDE to all the code out there  Get Codota for Java