question: public static double parseDouble ( String s ) { if ( POSITIVE_INFINITY . equals ( s ) ) { return Double . POSITIVE_INFINITY ; } else if ( NEGATIVE_INFINITY . equals ( s ) ) { return Double . NEGATIVE_INFINITY ; } else if ( NaN . equals ( s ) ) { return Double . NaN ; } else { s = trimPlusSign ( s ) ; return Double . parseDouble ( s ) ; } }
target:  Parses the supplied xsd:double string and returns its value.