Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for boxed (0.02 sec)

  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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Streams.java

       */
      public static OptionalInt findLast(IntStream stream) {
        // findLast(Stream) does some allocation, so we might as well box some more
        java.util.Optional<Integer> boxedLast = findLast(stream.boxed());
        return boxedLast.map(OptionalInt::of).orElse(OptionalInt.empty());
      }
    
      /**
       * Returns the last element of the specified stream, or {@link OptionalLong#empty} if the stream
       * is empty.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. 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).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top