Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for boxed (0.05 seconds)

  1. 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)
  2. 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/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        ;
    
        abstract Multiset<Integer> get();
      }
    
      /**
       * Duplication of the old version of ConcurrentHashMultiset (with some unused stuff removed, like
       * serialization code) which used a map with boxed integers for the values.
       */
      private static final class OldConcurrentHashMultiset<E> extends AbstractMultiset<E> {
        /** The number of occurrences of each element. */
    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)
  4. guava/src/com/google/common/collect/CollectSpliterators.java

        }
      }
    
      /**
       * Implementation of {@link Stream#flatMap} with a primitive spliterator output type.
       *
       * @param <InElementT> the element type of the input spliterator
       * @param <OutElementT> the (boxed) element type of the output spliterators
       * @param <OutConsumerT> the specialized consumer type for the primitive output type
       * @param <OutSpliteratorT> the primitive spliterator type associated with {@code OutElementT}
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/CollectSpliterators.java

        }
      }
    
      /**
       * Implementation of {@link Stream#flatMap} with a primitive spliterator output type.
       *
       * @param <InElementT> the element type of the input spliterator
       * @param <OutElementT> the (boxed) element type of the output spliterators
       * @param <OutConsumerT> the specialized consumer type for the primitive output type
       * @param <OutSpliteratorT> the primitive spliterator type associated with {@code OutElementT}
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/StatsTest.java

        } else {
          assertThat(actual).isWithin(ALLOWED_ERROR).of(expected);
        }
      }
    
      public void testBoxedDoubleStreamToStats() {
        Stats stats = megaPrimitiveDoubleStream().boxed().collect(toStats());
        assertThat(stats.count()).isEqualTo(MEGA_STREAM_COUNT);
        assertThat(stats.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
        assertThat(stats.populationVariance())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /**
       * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
       * long} values are boxed into {@link Long} instances on demand, which can be very expensive. The
       * returned list should be used once and discarded. For any usages beyond that, pass the returned
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      }
    
      /**
       * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
       * double} values are boxed into {@link Double} instances on demand, which can be very expensive.
       * The returned list should be used once and discarded. For any usages beyond that, pass the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      /**
       * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
       * int} values are boxed into {@link Integer} instances on demand, which can be very expensive.
       * The returned list should be used once and discarded. For any usages beyond that, pass the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/math/Stats.java

            .snapshot();
      }
    
      /**
       * Returns a {@link Collector} which accumulates statistics from a {@link java.util.stream.Stream}
       * of any type of boxed {@link Number} into a {@link Stats}. Use by calling {@code
       * boxedNumericStream.collect(toStats())}. The numbers will be converted to {@code double} values
       * (which may cause loss of precision).
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
Back to Top