void function ( ObjectInputStream arg0 ) { arg0 . defaultReadObject ( ) ; if ( semIm == null ) { throw new NullPointerException ( ) ; } if ( parameter == null ) { throw new NullPointerException ( ) ; } if ( aC != null ) { a = new TetradMatrix ( aC . toArray ( ) ) ; } }
adds semantic checks to the default deserialization method . this method must have the standard signature for a readobject method , and the body of the method must begin with `` s.defaultreadobject ; '' . other than that , any semantic checks can be specified and do not need to stay the same from version to version . a readobject method of this form may be added to any class , even if tetrad sessions were previously saved out using a version of the class that did n't include it . that 's what the `` s.defaultreadobject ; '' is for . see j. bloch , effective java , for help . concode_field_sep long serialVersionUID concode_elem_sep TetradMatrix a concode_elem_sep DoubleMatrix2D aC concode_elem_sep Parameter parameter concode_elem_sep int i concode_elem_sep int j concode_elem_sep ISemIm semIm concode_field_sep Mapping serializableInstance concode_elem_sep double getValue concode_elem_sep void setValue concode_elem_sep String toString concode_elem_sep Parameter getParameter