Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 53 for IgnoreJRERequirement (0.1 seconds)

  1. android/guava/src/com/google/common/collect/CollectSpliterators.java

        }
        /*
         * @IgnoreJRERequirement should be redundant with the one on Streams itself, but it's necessary
         * as of Animal Sniffer 1.24. Maybe Animal Sniffer processes this nested class before it
         * processes Streams and thus hasn't had a chance to see Streams's annotation?
         */
        @IgnoreJRERequirement
        final class WithCharacteristics implements Spliterator<T> {
    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)
  2. android/guava/src/com/google/common/collect/Comparators.java

            o -> orElseNull(o), Comparator.nullsLast(valueComparator));
      }
    
      @IgnoreJRERequirement // helper for emptiesFirst+emptiesLast
      /*
       * If we make these calls inline inside the lambda inside emptiesFirst()/emptiesLast(), we get an
       * Animal Sniffer error, despite the @IgnoreJRERequirement annotation there. For details, see
       * ImmutableSortedMultiset.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       * uninterruptibly.
       *
       * @since 33.4.0 (but since 28.0 in the JRE flavor)
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @IgnoreJRERequirement // Users will use this only if they're already using Duration.
      public static boolean awaitUninterruptibly(CountDownLatch latch, Duration timeout) {
        return awaitUninterruptibly(latch, toNanosSaturated(timeout), NANOSECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Spliterator} implementations.
     *
     * @since 33.4.0 (but since 21.0 in the JRE flavor)
     */
    @GwtCompatible
    @NullMarked
    @IgnoreJRERequirement // Users will use this only if they're already using Spliterator.
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

            : new ImmutableDoubleArray(array, start + startIndex, start + endIndex);
      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfDouble spliterator() {
    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)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

            : new ImmutableIntArray(array, start + startIndex, start + endIndex);
      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfInt spliterator() {
    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)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

       *     isSatisfied()})
       * @since 33.4.0 (but since 21.0 in the JRE flavor)
       */
      // We have to rely on users not to call this, as NewApi won't flag BooleanSupplier creation.
      @IgnoreJRERequirement
      public Guard newGuard(BooleanSupplier isSatisfied) {
        checkNotNull(isSatisfied, "isSatisfied");
        return new Guard(this) {
          @Override
          public boolean isSatisfied() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

            : new ImmutableLongArray(array, start + startIndex, start + endIndex);
      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfLong spliterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/TempFileCreator.java

       * without needing a separate VM or classloader.
       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
      @VisibleForTesting
      static void testMakingUserPermissionsFromScratch() throws IOException {
        // All we're testing is whether it throws.
        FileAttribute<?> unused = JavaNioCreator.userPermissions().get();
      }
    
      @IgnoreJRERequirement // used only when Path is available
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Optional.java

       *
       * @since 33.4.0 (but since 21.0 in the JRE flavor)
       */
      @SuppressWarnings("NullableOptional") // Null passthrough is reasonable for type conversions
      @IgnoreJRERequirement // Users will use this only if they're already using Optional.
      public static <T> @Nullable Optional<T> fromJavaUtil(
          java.util.@Nullable Optional<T> javaUtilOptional) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top