- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 815 for Nullable (0.14 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
checkNotNull(service); checkNotNull(nameSupplier); return new WrappingExecutorService(service) { @Override protected <T extends @Nullable Object> Callable<T> wrapTask(Callable<T> callable) { return Callables.threadRenaming(callable, nameSupplier); } @Override protected Runnable wrapTask(Runnable command) { return Callables.threadRenaming(command, nameSupplier);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 44.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * The Artifact Result * * @since 4.0.0 */ @Experimental public interface ArtifactResolverResult { /** * @return {@link Artifact} */ @Nonnull Collection<DownloadedArtifact> getArtifacts(); @Nullable Path getPath(Artifact artifact);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java
import static com.google.common.util.concurrent.NullnessCasts.uncheckedCastNullableTToT; import org.checkerframework.checker.nullness.qual.Nullable; /** Emulation for InterruptibleTask in GWT. */ @ElementTypesAreNonnullByDefault abstract class InterruptibleTask<T extends @Nullable Object> implements Runnable { @Override public void run() { T result = null; Throwable error = null; if (isDone()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 08 20:30:27 UTC 2022 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* equal to any other equality groups added to this tester. * * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the * objects, and the array itself, can be null. That is for programmer convenience, when the * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the * array nor its contents can be null, but it is not useful to force the use of {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates multimaps, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestMultimapGenerator< K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> extends TestContainerGenerator<M, Entry<K, V>> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates multimaps, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestMultimapGenerator< K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> extends TestContainerGenerator<M, Entry<K, V>> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/StringCatcher.java
* * @author Cliff Biffle */ public class StringCatcher { private List<String> events = Lists.newArrayList(); @Subscribe public void hereHaveAString(@Nullable String string) { events.add(string); } public void methodWithoutAnnotation(@Nullable String string) { Assert.fail("Event bus must not call methods without @Subscribe!"); } public List<String> getEvents() { return events; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 16 22:49:59 UTC 2018 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapDifference.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * An object representing the differences between two maps. * * @author Kevin Bourrillion * @since 2.0 */ @DoNotMock("Use Maps.difference") @GwtCompatible @ElementTypesAreNonnullByDefault public interface MapDifference<K extends @Nullable Object, V extends @Nullable Object> { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 04 13:28:27 UTC 2021 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingTable.java
* * @author Gregory Kick * @since 7.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingTable< R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object> extends ForwardingObject implements Table<R, C, V> { /** Constructor for use by subclasses. */ protected ForwardingTable() {} @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 3.9K bytes - Viewed (0)