Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for chooseSize (0.04 seconds)

  1. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        ALWAYS_10(10, 10);
    
        final int min;
        final int max;
    
        ListSizeDistribution(int min, int max) {
          this.min = min;
          this.max = max;
        }
    
        public int chooseSize(Random random) {
          return random.nextInt(max - min + 1) + min;
        }
      }
    
      private BenchmarkHelpers() {}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top