public synchronized Tuner getTuner ( int i ) { checkReleased ( ) ; for ( Tuner t : tuners ) if ( t . getIndex ( ) == i ) return t ; throw new ArrayIndexOutOfBoundsException ( "No tuner with such index" ) ; }
This method returns a tuner given its index .