Lines Matching refs:result

89  *     MatchResult result = s.match();
90 * for (int i=1; i<=result.groupCount(); i++)
91 * System.out.println(result.group(i));
392 // Boolean indicating if a match result is available
808 private void cacheResult(String result) {
809 hasNextResult = result;
1130 * been closed will result in an {@link IllegalStateException}.
1318 * Returns the match result of the last scanning operation performed
1324 * make a match result available if they complete without throwing an
1333 * @return a match result for the last match operation
1334 * @throws IllegalStateException If no match result is available
1338 throw new IllegalStateException("No match result available");
1386 boolean result = hasTokenInBuffer();
1387 return revertState(result);
1545 String result = findWithinHorizon(linePattern(), 0);
1546 if (result != null) {
1550 result = result.substring(0, result.length() -
1552 cacheResult(result);
1559 return (result != null);
1583 String result = findWithinHorizon(linePattern, 0);
1584 if (result == null)
1589 result = result.substring(0, result.length() - lineSep.length());
1590 if (result == null)
1593 return result;
1694 * by the horizon; that is, an arbitrary match result may have been
1853 boolean result = hasNext(integerPattern());
1854 if (result) { // Cache it
1861 result = false;
1864 return result;
1913 // Check cached result
1959 boolean result = hasNext(integerPattern());
1960 if (result) { // Cache it
1967 result = false;
1970 return result;
2019 // Check cached result
2065 boolean result = hasNext(integerPattern());
2066 if (result) { // Cache it
2073 result = false;
2076 return result;
2085 String result = token.replaceAll(""+groupSeparator, "");
2088 if ((preLen > 0) && result.startsWith(negativePrefix)) {
2090 result = result.substring(preLen);
2093 if ((sufLen > 0) && result.endsWith(negativeSuffix)) {
2095 result = result.substring(result.length() - sufLen,
2096 result.length());
2099 result = "-" + result;
2100 return result;
2149 // Check cached result
2195 boolean result = hasNext(integerPattern());
2196 if (result) { // Cache it
2203 result = false;
2206 return result;
2255 // Check cached result
2284 String result = token.replaceAll(groupSeparator, "");
2286 result = result.replaceAll(decimalSeparator, ".");
2289 if ((preLen > 0) && result.startsWith(negativePrefix)) {
2291 result = result.substring(preLen);
2294 if ((sufLen > 0) && result.endsWith(negativeSuffix)) {
2296 result = result.substring(result.length() - sufLen,
2297 result.length());
2299 if (result.equals(nanString))
2300 result = "NaN";
2301 if (result.equals(infinityString))
2302 result = "Infinity";
2304 result = "-" + result;
2307 Matcher m = NON_ASCII_DIGIT.matcher(result);
2310 for (int i=0; i<result.length(); i++) {
2311 char nextChar = result.charAt(i);
2322 result = inASCII.toString();
2325 return result;
2339 boolean result = hasNext(floatPattern());
2340 if (result) { // Cache it
2345 result = false;
2348 return result;
2379 // Check cached result
2406 boolean result = hasNext(floatPattern());
2407 if (result) { // Cache it
2412 result = false;
2415 return result;
2446 // Check cached result
2492 boolean result = hasNext(integerPattern());
2493 if (result) { // Cache it
2500 result = false;
2503 return result;
2548 // Check cached result
2581 boolean result = hasNext(decimalPattern());
2582 if (result) { // Cache it
2587 result = false;
2590 return result;
2614 // Check cached result