- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 974 for nullable (0.04 sec)
-
guava-tests/test/com/google/common/collect/QueuesTest.java
@SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = threadPool.submit( new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws InterruptedException { new Producer(q, 50).call(); new Interrupter(mainThread).run(); new Producer(q, 50).call();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
public void testCopyOfNullKey() { ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create(); input.put(null, 1); assertThrows( NullPointerException.class, () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input)); } public void testCopyOfNullValue() { ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
private static final class AlwaysEqual extends Ordering<@Nullable Object> implements Serializable { private static final AlwaysEqual INSTANCE = new AlwaysEqual(); @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(@Nullable Object o1, @Nullable Object o2) { return 0; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 21.4K bytes - Viewed (0) -
android/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates map entries using sample keys and sample values. * * @author Jesse Wilson */ @GwtCompatible @NullMarked public abstract class TestMapEntrySetGenerator< K extends @Nullable Object, V extends @Nullable Object> implements TestSetGenerator<Map.Entry<K, V>> { private final SampleElements<K> keys;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
* @since 9.0 (in 1.0 as {@code ValueFuture}) */ @GwtCompatible public final class SettableFuture<V extends @Nullable Object> extends AbstractFuture.TrustedFuture<V> { /** * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call. */ public static <V extends @Nullable Object> SettableFuture<V> create() { return new SettableFuture<>(); } @CanIgnoreReturnValue @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java
boolean contains(@Nonnull Version version); /** * Returns the upper boundary of this range, or {@code null} if none. */ @Nullable Boundary getUpperBoundary(); /** * Returns the lower boundary of this range, or {@code null} if none. */ @Nullable Boundary getLowerBoundary(); /** * {@return the string representation of this version} */ @Nonnull @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CartesianList.java
import com.google.common.annotations.J2ktIncompatible; import java.util.AbstractList; import java.util.List; import java.util.ListIterator; import java.util.RandomAccess; import org.jspecify.annotations.Nullable; /** * Implementation of {@link Lists#cartesianProduct(List)}. * * @author Louis Wasserman */ @GwtCompatible final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedSetMultimap.java
* "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. * * @author Jared Levy * @since 2.0 */ @GwtCompatible public interface SortedSetMultimap<K extends @Nullable Object, V extends @Nullable Object> extends SetMultimap<K, V> { // Following Javadoc copied from Multimap. /** * Returns a collection view of all values associated with a key. If no mappings in the multimapRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.2K bytes - Viewed (0)