public ProblemInput getProblemInput ( final int index ) { final List < ProblemInput > inputs = getProblemInputs ( ) ; if ( index < 0 || inputs . size ( ) <= index ) { throw new ArrayIndexOutOfBoundsException ( ) ; } return inputs . get ( index ) ; }
Shortcut method for reducing law of Demeters issues .