Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 116 for IgnoreJRERequirement (0.3 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

         * @param delay the delay between the termination of one execution and the commencement of the
         *     next
         * @since 33.4.0 (but since 28.0 in the JRE flavor)
         */
        @IgnoreJRERequirement // Users will use this only if they're already using Duration
        public static Scheduler newFixedDelaySchedule(Duration initialDelay, Duration delay) {
          return newFixedDelaySchedule(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Stopwatch.java

       * library desugaring</a>.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Duration calls
      @IgnoreJRERequirement
      @J2ktIncompatible
      @GwtIncompatible
      @J2ObjCIncompatible
      public Duration elapsed() {
        return Duration.ofNanos(elapsedNanos());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              @Override
              protected void finalize() {
                finalizerRan.countDown();
              }
            });
      }
    
      // We call the method only after checking that it's present.
      @IgnoreJRERequirement
      @SuppressWarnings({
        "Java8ApiChecker",
        // This method is a helper, which we call from a `finally` block, as recommended.
        "ReachabilityFenceUsage",
      })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Streams.java

        R apply(@ParametricNullness T from, long index);
      }
    
      /*
       * @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
      private abstract static class MapWithIndexSpliterator<
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Queues.java

       * @throws InterruptedException if interrupted while waiting
       * @since 33.4.0 (but since 28.0 in the JRE flavor)
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // BlockingQueue
      @IgnoreJRERequirement // Users will use this only if they're already using Duration
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          }
        }
      }
    
      /** Ensures that {@code o} is not garbage collected until this point in the code. */
      @VisibleForTesting
      // We call the method only after checking that it's present.
      @IgnoreJRERequirement
      @SuppressWarnings({
        "Java8ApiChecker",
        "NewApi",
        // This method is a helper, which we call from a `finally` block, as recommended.
        "ReachabilityFenceUsage",
      })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *         .putAll('a', "pple", "sparagus")
       *         .putAll('c', "arrot", "herry")
       *         .build();
       * }
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableListMultimap<K, V>> toImmutableListMultimap(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       */
      @J2ObjCIncompatible
      @GwtIncompatible // Duration
      @J2ktIncompatible
      @SuppressWarnings("GoodTime") // Duration decomposition
      @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> expireAfterWrite(Duration duration) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Tables.java

       *
       * <p>To collect to an {@link ImmutableTable}, use {@link ImmutableTable#toImmutableTable}.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <
              T extends @Nullable Object,
              R extends @Nullable Object,
              C extends @Nullable Object,
              V,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/MoreFiles.java

     *
     * @since 33.4.0 (but since 21.0 in the JRE flavor)
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible // java.nio.file
    @IgnoreJRERequirement // Users will use this only if they're already using Path.
    public final class MoreFiles {
    
      private MoreFiles() {}
    
      /**
       * Returns a view of the given {@code path} as a {@link ByteSource}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
Back to Top