question: protected int rangeUpper ( String range ) { int hyphenIndex ; if ( ( hyphenIndex = range . indexOf ( '-' ) ) >= 0 ) { return Math . max ( rangeUpper ( range . substring ( 0 , hyphenIndex ) ) , rangeUpper ( range . substring ( hyphenIndex + 1 ) ) ) ; } return rangeSingle ( range ) ; }
target:  Translates a range into it's upper index. Must only be called once setUpper has been called.