@ Override public String parse ( final String threshold , final RangeConfig tc ) { tc . setNegativeInfinity ( true ) ; if ( threshold . startsWith ( INFINITY ) ) { return threshold . substring ( INFINITY . length ( ) ) ; } else { return threshold . substring ( NEG_INFINITY . length ( ) ) ; } }
Parses the threshold to remove the matched - inf or inf string .