- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,049 for Nullable (0.17 sec)
-
guava-testlib/src/com/google/common/testing/NullPointerTester.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A test utility that verifies that your methods and constructors throw {@link * NullPointerException} or {@link UnsupportedOperationException} whenever null is passed to a * parameter whose declaration or type isn't annotated with an annotation with the simple name * {@code Nullable}, {@code CheckForNull}, {@code NullableType}, or {@code NullableDecl}. *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
} @Override public @Nullable Entry<K, V> firstEntry() { assertTrue(Thread.holdsLock(mutex)); return delegate().firstEntry(); } @Override public @Nullable Entry<K, V> floorEntry(K key) { assertTrue(Thread.holdsLock(mutex)); return delegate().floorEntry(key); } @Override public @Nullable K floorKey(K key) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 12.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
@Override public boolean equals(@Nullable Object other) { return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes); } } private static class ObjectWhichIsEqualButChangesClass implements Serializable { private static final long serialVersionUID = 1L; @Override public boolean equals(@Nullable Object other) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
/** Prepares the multimap for unmodifiable tests, returning an unmodifiable view of the map. */ private static Multimap<@Nullable String, @Nullable Integer> prepareUnmodifiableTests( Multimap<@Nullable String, @Nullable Integer> multimap, boolean permitsDuplicates, @Nullable String nullKey, @Nullable Integer nullValue) { multimap.clear(); multimap.put("foo", 1); multimap.put("foo", 2);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 39.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java
import java.util.Map; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates maps, containing sample elements, to be tested. * * @author George van den Driessche */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java
import java.util.Map; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates maps, containing sample elements, to be tested. * * @author George van den Driessche */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
@VisibleForTesting final transient @Nullable Object[] elements; private final transient int hashCode; // the same values as `elements` in hashed positions (plus nulls) @VisibleForTesting final transient @Nullable Object[] table; // 'and' with an int to get a valid table index. private final transient int mask; private final transient int size; RegularImmutableSet(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 3.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return super.containsAll(collection); } @Override public Iterator<E> iterator() { return Arrays.asList(contents).iterator(); } @Override public @Nullable Object[] toArray() { @Nullable Object[] result = new @Nullable Object[contents.length]; System.arraycopy(contents, 0, result, 0, contents.length); return result; } /*
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ParametricNullness.java
* argument is non-nullable and (b) nullable when the type argument is nullable. We use this * to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin * under our current constraints. * <li>NullAway, which will <a * href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treat it
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/ParametricNullness.java
* argument is non-nullable and (b) nullable when the type argument is nullable. We use this * to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin * under our current constraints. * <li>NullAway, which will <a * href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treat it
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0)