- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for 3349 (0.07 seconds)
-
android/guava/src/com/google/common/reflect/ClassPath.java
* loaded. * * <p>But note that this class uses heuristics to identify the simple name. See a related * discussion in <a href="https://github.com/google/guava/issues/3349">issue 3349</a>. */ public String getSimpleName() { int lastDollarSign = className.lastIndexOf('$'); if (lastDollarSign != -1) { String innerClassName = className.substring(lastDollarSign + 1);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
import java.util.function.Supplier; import org.jspecify.annotations.NullMarked; 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> {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) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
import java.util.function.Supplier; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester for {@code Spliterator} implementations. * * @since 21.0 (but only since 33.4.0 in the Android flavor) */ @GwtCompatible @NullMarked public final class SpliteratorTester<E extends @Nullable Object> { /** Return type from "contains the following elements" assertions. */ public interface Ordered {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
Thread.currentThread().interrupt(); } } } /** * Invokes {@code latch.}{@link CountDownLatch#await(long, TimeUnit) await(timeout, unit)} * 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.
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) -
android/guava/src/com/google/common/collect/Streams.java
import java.util.stream.Stream; import java.util.stream.StreamSupport; import org.jspecify.annotations.Nullable; /** * Static utility methods related to {@code Stream} instances. * * @since 33.4.0 (but since 21.0 in the JRE flavor) */ @GwtCompatible /* * Users will use most of these methods only if they're already using Stream. For a few otherCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* than all other values, and orders the rest using {@code valueComparator} on the contained * value. * * @since 22.0 (but only since 33.4.0 in the Android flavor) */ public static <T> Comparator<Optional<T>> emptiesFirst(Comparator<? super T> valueComparator) { checkNotNull(valueComparator); return Comparator.<Optional<T>, @Nullable T>comparing(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
} /** * Creates a new {@linkplain Guard guard} for this monitor. * * @param isSatisfied the new guard's boolean condition (see {@link Guard#isSatisfied * 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) {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) -
guava/src/com/google/common/collect/Streams.java
import java.util.stream.Stream; import java.util.stream.StreamSupport; import org.jspecify.annotations.Nullable; /** * Static utility methods related to {@code Stream} instances. * * @since 21.0 (but only since 33.4.0 in the Android flavor) */ @GwtCompatible public final class Streams { /** * Returns a sequential {@link Stream} of the contents of {@code iterable}, delegating to {@link * Collection#stream} if possible.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* @throws IllegalStateException if the service manager reaches a state from which it cannot * become {@linkplain #isHealthy() healthy}. * @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 void awaitHealthy(Duration timeout) throws TimeoutException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
Range<Integer> range = Range.closed(3, 5); assertTrue(range.containsAll(asList(3, 3, 4, 5))); assertFalse(range.containsAll(asList(3, 3, 4, 5, 6))); // We happen to know that natural-order sorted sets use a different code // path, so we test that separately assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5))); assertTrue(range.containsAll(ImmutableSortedSet.of(3)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0)