Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for computeValue (0.12 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        }
    
        for (int i = 0; i < otherEntriesInDataStructure; i++) {
          ClassValue<Boolean> classValue =
              new ClassValue<Boolean>() {
                @Override
                protected Boolean computeValue(Class<?> type) {
                  return true;
                }
              };
          classValue.get(exceptionType);
          retainedReferencesToOtherClassValues.add(classValue);
        }
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 22 03:01:34 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

           */
          private static final ClassValue<Boolean> isValidClass =
              new ClassValue<Boolean>() {
                @Override
                protected Boolean computeValue(Class<?> type) {
                  checkExceptionClassValidity(type.asSubclass(Exception.class));
                  return true;
                }
              };
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top