Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for unbox (0.01 seconds)

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

         * @param element the element to look for
         * @return the nonnegative number of occurrences of the element
         */
        @Override
        public int count(@Nullable Object element) {
          try {
            return unbox(countMap.get(element));
          } catch (NullPointerException | ClassCastException e) {
            return 0;
          }
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
        // With a boxed predicate, no overloads can be selected in phase 1
        // ambiguous without the call to .booleanValue to unbox the Boolean
        checkState(boxedBoolean.booleanValue(), "", 1);
        // ambiguous without the cast to Object because the boxed predicate prevents any overload from
        // being selected in phase 1
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/base/PreconditionsTest.java

        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
        // With a boxed predicate, no overloads can be selected in phase 1
        // ambiguous without the call to .booleanValue to unbox the Boolean
        checkState(boxedBoolean.booleanValue(), "", 1);
        // ambiguous without the cast to Object because the boxed predicate prevents any overload from
        // being selected in phase 1
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
Back to Top