question: public SampleSet ( DataInputStream is ) throws IOException { int numSamples ; sampleInfo = new SampleInfo ( is ) ; numSamples = is . readInt ( ) ; this . samples = new Sample [ numSamples ] ; for ( int i = 0 ; i < numSamples ; i ++ ) { samples [ i ] = Sample . loadBinary ( is ) ; } }
target:  Creates a SampleSet by reading it from the given input stream