public static final float findFloat ( CharSequence cs , int beginIndex , int endIndex ) { int begin = CharSequences . indexOf ( cs , Primitives :: isFloatDigit , beginIndex ) ; int end = CharSequences . indexOf ( cs , ( c ) - > ! Primitives . isFloatDigit ( c ) , begin ) ; return parseFloat ( cs , begin , endIndex ( end , endIndex ) ) ; }
Parses next float