- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 804 for nullable (0.04 sec)
-
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
android/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) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class MultimapSizeTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testSize() { int expectedSize = getNumElements(); Multimap<K, V> multimap = multimap();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java
import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates sets, containing sample elements, to be tested. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { @Override List<E> create(Object... elements);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import org.jspecify.annotations.Nullable; /** Emulation of Uninterruptibles in GWT. */ public final class Uninterruptibles { private Uninterruptibles() {} @CanIgnoreReturnValue public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future) throws ExecutionException { try { return future.get();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java
import static java.util.Collections.singletonMap; import org.jspecify.annotations.Nullable; /** * GWT emulation of {@link SingletonImmutableBiMap}. * * @author Hayward Chan */ final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> { private final K singleKey; private final V singleValue; @Nullable transient SingletonImmutableBiMap<V, K> inverse; SingletonImmutableBiMap(K key, V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 22:23:20 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java
import static junit.framework.Assert.fail; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ final class TestPlatform { static void verifyGetOnPendingFuture(Future<?> future) { try { future.get(); fail();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Collection; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * Base class for collection testers. * * @param <E> the element type of the collection to be tested. * @author Kevin Bourrillion */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.logging.Handler; import java.util.logging.LogRecord; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests may use this to intercept messages that are logged by the code under test. Example: * * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Collection; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * Base class for collection testers. * * @param <E> the element type of the collection to be tested. * @author Kevin Bourrillion */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.8K bytes - Viewed (0)