question: @ Override public void writeExternal ( ObjectOutput out ) throws IOException { int dim = getDimensionality ( ) ; out . writeInt ( dim ) ; for ( double aMin : min ) { out . writeDouble ( aMin ) ; } for ( double aMax : max ) { out . writeDouble ( aMax ) ; } }
target:  The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.