Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for collapseFrom (0.13 sec)

  1. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

          result += matcher.countIn(teststring);
        }
        return result;
      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += System.identityHashCode(matcher.collapseFrom(teststring, ' '));
        }
        return result;
      }
    
      private static String allMatchingChars(BitSet bitSet) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top