- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 804 for nullable (0.62 sec)
-
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) -
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/base/Joiner.java
} private static Iterable<@Nullable Object> iterable( @Nullable Object first, @Nullable Object second, @Nullable Object[] rest) { checkNotNull(rest); return new AbstractList<@Nullable Object>() { @Override public int size() { return rest.length + 2; } @Override public @Nullable Object get(int index) { switch (index) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
guava/src/com/google/common/collect/TableCollectors.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link Functions}. * * @author Mike Bostock * @author Vlad Patryshev */ @GwtCompatible @NullMarked public class FunctionsTest extends TestCase { public void testIdentity_same() { Function<@Nullable String, @Nullable String> identity = Functions.identity(); assertNull(identity.apply(null));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableBiMap.java
static final RegularImmutableBiMap<Object, Object> EMPTY = new RegularImmutableBiMap<>(); private final transient @Nullable Object keyHashTable; @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues; private final transient int keyOffset; // 0 for K-to-V, 1 for V-to-K private final transient int size; private final transient RegularImmutableBiMap<V, K> inverse;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java
this.forward = forward; } @Override public int count(@Nullable Object element) { return forward.count(element); } @Override public @Nullable Entry<E> firstEntry() { return forward.lastEntry(); } @Override public @Nullable Entry<E> lastEntry() { return forward.firstEntry(); } @Override public int size() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/base/NullnessCasts.java
* there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}. * (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0) -
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)