src/PuExperiment.java
/** 
     * Throws illegal argument exception if bin index is out of bounds
     * @param index of bin
     */
Throws illegal argument exception if bin index is out of bounds
@param index of bin
Throws illegal argument exception if bin index is out of bounds @param index of bin
private void checkBinIndex(int index) {
        if (index < 0 || index > numberBins - 1) {
            throw new IllegalArgumentException("index to PU data bin is out of bounds 0 to number of bins - 1");
        }
    }
private void checkBinIndex ( int index ) { if ( index < 0 || index > numberBins - 1 ) { throw new IllegalArgumentException ( "index to PU data bin is out of bounds 0 to number of bins - 1" ) ; } }
Throws illegal argument exception if bin index is out of bounds
 @param index of bin
Throws illegal argument exception if bin index is out of bounds @param index of bin