- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 884 for Nullable (0.11 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
import org.jspecify.annotations.Nullable; /** * A simplistic set which implements the bare minimum so that it can be used in tests without * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they * can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
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/MinimalSet.java
import org.jspecify.annotations.Nullable; /** * A simplistic set which implements the bare minimum so that it can be used in tests without * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they * can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
import org.jspecify.annotations.Nullable; /** * Derived suite generators, split out of the suite builders so that they are available to GWT. * * @author George van den Driessche */ @GwtCompatible @NullMarked public final class DerivedCollectionGenerators { public static class MapEntrySetGenerator<K extends @Nullable Object, V extends @Nullable Object>Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.List; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class SampleElements<E extends @Nullable Object> implements Iterable<E> { // TODO: rename e3, e4 => missing1, missing2 private final E e0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.containsRow(rowKey); } @Override public @Nullable V get(Object rowKey, Object columnKey) { assertTrue(Thread.holdsLock(mutex)); return delegate.get(rowKey, columnKey); } @Override public @Nullable V put(R rowKey, C columnKey, V value) { assertTrue(Thread.holdsLock(mutex));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMultiset.java
} } @Override public @Nullable Entry<E> firstEntry() { return delegate().firstEntry(); } /** * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}. * * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to * forward to this implementation. */ protected @Nullable Entry<E> standardFirstEntry() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
private static final @Nullable Object jla = getJla(); /** * The "getStackTraceElementMethod" method, only available on some JDKs so we use reflection to * find it when available. When this is null, use the slow way. */ @J2ktIncompatible @GwtIncompatible // java.lang.reflect private static final @Nullable Method getStackTraceElementMethod =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
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 - 24.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
} @Override Map<R, @Nullable V> getValue(int index) { return new Column(index); } @Override Map<R, @Nullable V> setValue(int index, Map<R, @Nullable V> newValue) { throw new UnsupportedOperationException(); } @Override public @Nullable Map<R, @Nullable V> put(C key, Map<R, @Nullable V> value) { throw new UnsupportedOperationException();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredSetMultimap.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.Nullable; /** * A supertype for filtered {@link SetMultimap} implementations. * * @author Louis Wasserman */ @GwtCompatible interface FilteredSetMultimap<K extends @Nullable Object, V extends @Nullable Object> extends FilteredMultimap<K, V>, SetMultimap<K, V> { @Override SetMultimap<K, V> unfiltered();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1K bytes - Viewed (0)