- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 875 for Nullable (0.04 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Used to test listenable future implementations. * * @author Sven Mawson */ @NullUnmarked public class ListenableFutureTester { private final ExecutorService exec;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
*/ @GwtIncompatible public abstract class ForwardingNavigableSet<E extends @Nullable Object> extends ForwardingSortedSet<E> implements NavigableSet<E> { /** Constructor for use by subclasses. */ protected ForwardingNavigableSet() {} @Override protected abstract NavigableSet<E> delegate(); @Override public @Nullable E lower(@ParametricNullness E e) { return delegate().lower(e); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
import org.jspecify.annotations.Nullable; /** Implementations of {@code Futures.transform*}. */ @GwtCompatible // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || @SuppressWarnings("ShortCircuitBoolean") abstract class AbstractTransformFuture< I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
*/ @LazyInit private @Nullable ListenableFuture<V> delegateRef; @LazyInit private @Nullable ScheduledFuture<?> timer; private TimeoutFuture(ListenableFuture<V> delegate) { this.delegateRef = Preconditions.checkNotNull(delegate); } /** A runnable that is called when the delegate or the timer completes. */ private static final class Fire<V extends @Nullable Object> implements Runnable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
/** * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code * Callable}. * * @param callable the callable task * @since 10.0 */ public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) { return new ListenableFutureTask<>(callable); } /** * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
assertMultimapRemainsUnmodified(multimap, originalEntries); } private static <E extends @Nullable Object> void assertCollectionsAreEquivalent( Collection<E> expected, Collection<E> actual) { assertIteratorsInOrder(expected.iterator(), actual.iterator()); } private static <K extends @Nullable Object, V extends @Nullable Object> void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
*/ public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition( Iterable<T> iterable, int size) { checkNotNull(iterable); checkArgument(size > 0); return new FluentIterable<List<@Nullable T>>() { @Override public Iterator<List<@Nullable T>> iterator() { return Iterators.paddedPartition(iterable.iterator(), size);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] {2, 3}, true); doTestToArrayImpl2(Lists.<@Nullable Integer>newArrayList(1, null, 3), new Integer[0], false); doTestToArrayImpl2(Lists.<@Nullable Integer>newArrayList(1, null, 3), new Integer[2], false); doTestToArrayImpl2(Lists.<@Nullable Integer>newArrayList(1, null, 3), new Integer[3], true); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractContainerTester<Map<K, V>, Entry<K, V>> { protected Map<K, V> getMap() { return container; } @Override protected Collection<Entry<K, V>> actualContents() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0)