- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 815 for Nullable (0.09 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
import org.checkerframework.checker.nullness.qual.Nullable; import org.junit.Ignore; /** Skeleton for a tester of a {@code BiMap}. */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @ElementTypesAreNonnullByDefault public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapTester<K, V> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java
import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates bimaps, containing sample entries, to be tested. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestContainerGenerator<BiMap<K, V>, Entry<K, V>> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Implementation of {@link Multimaps#filterEntries(Multimap, Predicate)}. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault class FilteredEntryMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimap<K, V> implements FilteredMultimap<K, V> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); } @Override public int count(@Nullable Object element) { return standardCount(element); } @Override public boolean equals(@Nullable Object object) { return standardEquals(object); } @Override public int hashCode() { return standardHashCode(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
multimap.put("bar", 9); assertThat(multimap.keySet()).containsExactly("cow", "bar").inOrder(); } public void testToStringNullExact() { Multimap<@Nullable String, @Nullable Integer> multimap = LinkedHashMultimap.create(); multimap.put("foo", 3); multimap.put("foo", -1); multimap.put(null, null); multimap.put("bar", 1); multimap.put("foo", 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.NoSuchElementException; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Basic implementation of {@code Multiset<E>} backed by an instance of {@code * ObjectCountHashMap<E>}. * * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
* href="http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html">efficiently splittable</a>. * This may harm parallel performance. */ @Beta public static <A extends @Nullable Object, B extends @Nullable Object, R extends @Nullable Object> Stream<R> zip( Stream<A> streamA, Stream<B> streamB, BiFunction<? super A, ? super B, R> function) { checkNotNull(streamA); checkNotNull(streamB);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredMultimapValues.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Implementation for {@link FilteredMultimap#values()}. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object> extends AbstractCollection<V> { @Weak private final FilteredMultimap<K, V> multimap;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @ElementTypesAreNonnullByDefault public class MultimapEqualsTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testEqualsTrue() { new EqualsTester() .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) .testEquals(); } public void testEqualsFalse() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K 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")); assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.9K bytes - Viewed (0)