- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 878 for Nullable (0.06 sec)
-
guava-tests/test/com/google/common/io/BaseEncodingTest.java
@Override void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) { assertThat(encoding.canDecode(cannotDecode)).isFalse(); } }, DECODE { @Override void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) { try { encoding.decode(cannotDecode);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.io.Reader; import java.nio.CharBuffer; import java.util.ArrayDeque; import java.util.Queue; import org.jspecify.annotations.Nullable; /** * A class for reading lines of text. Provides the same functionality as {@link * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of * {@link Reader}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@code GeneralRange}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class GeneralRangeTest extends TestCase { private static final Ordering<@Nullable Integer> ORDERING = Ordering.<Integer>natural().<Integer>nullsFirst(); private static final List<@Nullable Integer> IN_ORDER_VALUES =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
List<@Nullable String> listWithNulls = asList("a", null, "b"); assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls)); } { ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder(); Multiset<@Nullable String> multisetWithNull = LinkedHashMultiset.create(Arrays.<@Nullable String>asList("a", null, "b"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
* not have been inserted consecutively. */ private final @Nullable List<NodeConnection<N>> orderedNodeConnections; private int predecessorCount; private int successorCount; private DirectedGraphConnections( Map<N, Object> adjacentNodeValues, @Nullable List<NodeConnection<N>> orderedNodeConnections, int predecessorCount, int successorCount) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class MapPutAllTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapTester<K, V> { private List<Entry<K, V>> containsNullKey; private List<Entry<K, V>> containsNullValue; @Override public void setUp() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
import java.lang.reflect.Type; import java.util.Arrays; import java.util.Comparator; import javax.lang.model.element.Modifier; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tester of subtyping relationships between two types. * * <p>Tests should inherit from this class, and declare subtyping relationship with public methods * annotated by {@link TestSubtype}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicBoolean; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link GcFinalization}. * * @author Martin Buchholz * @author mike nonemacher */ @AndroidIncompatible // depends on details of gc @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an * array with a nullable element type. But probably they usually want an array with a non-nullable * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0)