Code example for ObjectInputStream

Methods: readInt

0
  } 
 
 
  private void readObject (ObjectInputStream in) throws IOException, ClassNotFoundException
  { 
    in.readInt ();  // read version
    N = in.readInt ();
    sampler = (Sampler) in.readObject ();
  } 
 
  public String toString ()
  { 
    return "(SamplingInferencer: "+sampler+" )";
  } 
} 
Contextual code suggestions in your IDE  Get Codota for Java