Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intValueWeigher (0.21 sec)

  1. guava-tests/test/com/google/common/cache/TestingWeighers.java

      static Weigher<Integer, Object> intKeyWeigher() {
        return new IntKeyWeigher();
      }
    
      /** Returns a {@link Weigher} that uses the integer value as the weight. */
      static Weigher<Object, Integer> intValueWeigher() {
        return new IntValueWeigher();
      }
    
      static final class ConstantWeigher implements Weigher<Object, Object> {
        private final int constant;
    
        ConstantWeigher(int constant) {
          this.constant = constant;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top