/** * Returns the {@link Channel} with the given index. * * @param aChannelIdx * the index of the channel to return, >= 0. * @return a {@link Channel} instance, never <code>null</code>. */ private Channel getChannel( final int aChannelIdx ) { final DataSet currentDataSet = getCurrentDataSet(); if ( currentDataSet == null ) { return null; } return currentDataSet.getChannel( aChannelIdx ); }