private int skipDouble ( int index ) { while ( index < msg . length ( ) ) { char c = msg . charAt ( index ) ; // U+221E: Allow the infinity symbol, for ChoiceFormat patterns. if ( ( c < ' ' && "+-." . indexOf ( c ) < 0 ) || ( c > ' ' && c != ' ' && c != ' ' && c != 0x221e ) ) { break ; } ++ index ; } return index ; }
Skips a sequence of characters that could occur in a double value . Does not fully parse or validate the value .