@Test public void testSet( ) { try { Line line = genLineFullObject( _noOfRows ); for( int i = 0; i < line.getNoOfRows( ); i++ ) line.set( i, (double)( i + 1 ) ); for( int i = 0; i < line.getNoOfRows( ); i++ ) assertEquals( (double)( i + 1 ), line.get( i ), 0. ); line = genLineHashObject( _noOfRows ); for( int i = 0; i < line.getNoOfRows( ); i++ ) line.set( i, (double)( i + 1 ) ); for( int i = 0; i < line.getNoOfRows( ); i++ ) assertEquals( (double)( i + 1 ), line.get( i ), 0. ); } catch( JWaveException e ) { e.printStackTrace( ); fail( "caught exception" ); } }
public abstract void set( int i, double val ) throws JWaveException;
Line extends Super { public abstract void set( int i, double val ) throws JWaveException; }
Line extends Super { public abstract void set( int i, double val ) throws JWaveException; Line( );  Line( Line line );  Line( int noOfRows );  Line( int offSetRow, int noOfRows ); }
Line extends Super { public abstract void set( int i, double val ) throws JWaveException; Line( );  Line( Line line );  Line( int noOfRows );  Line( int offSetRow, int noOfRows ); int getNoOfRows( ); void setNoOfRows( int noOfRows ); int getOffSetRow( ); abstract double get( int i ); abstract void set( int i, double val ); }
Line extends Super { public abstract void set( int i, double val ) throws JWaveException; Line( );  Line( Line line );  Line( int noOfRows );  Line( int offSetRow, int noOfRows ); int getNoOfRows( ); void setNoOfRows( int noOfRows ); int getOffSetRow( ); abstract double get( int i ); abstract void set( int i, double val );  }