Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for iterateWithEntrySet (0.22 seconds)

  1. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

          for (Element value : values) {
            dummy |= map.remove(value) == null;
          }
        }
        return dummy;
      }
    
      @Benchmark
      boolean iterateWithEntrySet(int reps) {
        Map<Element, Element> map = mapToTest;
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          for (Map.Entry<Element, Element> entry : map.entrySet()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top