- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 878 for Nullable (0.06 sec)
-
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
@Override public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) { return trustedGet(TypeToken.of(type)); } @Override public <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type) { return trustedGet(type.rejectTypeVariables()); } @Override @CanIgnoreReturnValue public <T extends B> @Nullable T putInstance(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link AbstractLoadingCache}. * * @author Charles Fry */ @NullUnmarked public class AbstractLoadingCacheTest extends TestCase { public void testGetUnchecked_checked() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java
Multiset<N> successors = getReference(successorsReference); if (successors != null) { checkState(successors.add(node)); } } private static <T> @Nullable T getReference(@Nullable Reference<T> reference) { return (reference == null) ? null : reference.get(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java
Multiset<N> successors = getReference(successorsReference); if (successors != null) { checkState(successors.add(node)); } } private static <T> @Nullable T getReference(@Nullable Reference<T> reference) { return (reference == null) ? null : reference.get(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
} public void testCopyOf_nullArray() { assertThrows(NullPointerException.class, () -> copyOf((String[]) null)); } public void testCopyOf_arrayContainingOnlyNull() { @Nullable String[] array = new @Nullable String[] {null}; assertThrows(NullPointerException.class, () -> copyOf((String[]) array)); } public void testCopyOf_collection_empty() { Collection<String> c = MinimalCollection.of();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
public CustomScheduler() {} /** A callable class that can reschedule itself using a {@link CustomScheduler}. */ private final class ReschedulableCallable implements Callable<@Nullable Void> { /** The underlying task. */ private final Runnable wrappedRunnable; /** The executor on which this Callable will be scheduled. */ private final ScheduledExecutorService executor;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
MultimapBuilder.linkedHashKeys().linkedHashSetValues()::<K, V>build), ImmutableSetMultimap::copyOf); } static < T extends @Nullable Object, K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> Collector<T, ?, M> toMultimap( Function<? super T, ? extends K> keyFunction,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
MultimapBuilder.linkedHashKeys().linkedHashSetValues()::<K, V>build), ImmutableSetMultimap::copyOf); } static < T extends @Nullable Object, K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> Collector<T, ?, M> toMultimap( Function<? super T, ? extends K> keyFunction,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
return super.toString(); } @Override public boolean equals(@Nullable Object o) { assertTrue(Thread.holdsLock(mutex)); return super.equals(o); } @Override public int hashCode() { assertTrue(Thread.holdsLock(mutex)); return super.hashCode(); } @Override public boolean add(@Nullable E o) { assertTrue(Thread.holdsLock(mutex)); return super.add(o); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
import java.util.Collection; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @NullMarked public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> { private final TestContainerGenerator<T, E> generator;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0)