- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 116 for IgnoreJRERequirement (0.2 seconds)
-
android/guava/src/com/google/common/collect/Internal.java
import com.google.common.annotations.J2ktIncompatible; import java.time.Duration; /** This class is for {@code com.google.common.collect} use only! */ @J2ktIncompatible @GwtIncompatible // java.time.Duration @IgnoreJRERequirement // We use this method only from within APIs that require a Duration. final class Internal { /** * Returns the number of nanoseconds of the given duration without throwing or overflowing. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
// If users use this when they shouldn't, we hope that NewApi will catch subsequent Stream calls. @IgnoreJRERequirement public Stream<String> lines() throws IOException { BufferedReader reader = openBufferedStream(); return reader.lines().onClose(() -> closeUnchecked(reader)); } @IgnoreJRERequirement // helper for lines() /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Internal.java
*/ // We use this method only for cases in which we need to decompose to primitives. @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/InsecureRecursiveDeleteException.java
* @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file // Users are unlikely to use this unless they're already interacting with MoreFiles and Path. @IgnoreJRERequirement public final class InsecureRecursiveDeleteException extends FileSystemException { public InsecureRecursiveDeleteException(@Nullable String file) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class CollectionStreamTester<E> extends AbstractCollectionTester<E> { /* * We're not really testing the implementation of Stream, only that we're getting a StreamCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class ListReplaceAllTester<E> extends AbstractListTester<E> { @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* These are properties of the collection as a whole; SIZED and SUBSIZED are more properties of * the spliterator implementation. */ // @IgnoreJRERequirement is not necessary because this compiles down to a constant. // (which is fortunate because Animal Sniffer doesn't look for @IgnoreJRERequirement on fields) static final int SPLITERATOR_CHARACTERISTICS = Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
/** * Adds the given values to the dataset. The stream will be completely consumed by this method. * * @param values a series of values * @since 33.4.0 (but since 28.2 in the JRE flavor) */ @IgnoreJRERequirement // Users will use this only if they're already using streams. public void addAll(DoubleStream values) { addAll(values.collect(StatsAccumulator::new, StatsAccumulator::add, StatsAccumulator::addAll)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero or {@code * warmupPeriod} is negative * @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 RateLimiter create(double permitsPerSecond, Duration warmupPeriod) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0)