- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 815 for Nullable (0.05 sec)
-
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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
import com.google.common.annotations.J2ktIncompatible; import java.util.HashMap; import java.util.Map; import java.util.function.BiConsumer; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Implementation of ImmutableMap backed by a JDK HashMap, which has smartness protecting against * hash flooding. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link AbstractMultiset}. * * @author Kevin Bourrillion * @author Louis Wasserman */ @SuppressWarnings("serial") // No serialization is used in this test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
assertMultimapRemainsUnmodified(multimap, originalEntries); } private static <E extends @Nullable Object> void assertCollectionsAreEquivalent( Collection<E> expected, Collection<E> actual) { assertIteratorsInOrder(expected.iterator(), actual.iterator()); } private static <K extends @Nullable Object, V extends @Nullable Object> void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
*/ @ElementTypesAreNonnullByDefault /* * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could * support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Exclusion.java
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nullable; /** * A dependency exclusion. * * @since 4.0.0 * @see DependencyCoordinates#getExclusions() */ @Experimental public interface Exclusion { @Nullable String getGroupId(); @Nullable String getArtifactId();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 1.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>> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
MultimapBuilder.linkedHashKeys().linkedHashSetValues()::<K, V>build), ImmutableSetMultimap::copyOf); } static < T extends @Nullable Object, K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> Collector<T, ?, M> toMultimap( Function<? super T, ? extends K> keyFunction,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 17.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
} } }; abstract <E extends @Nullable Object> void forEach( GeneralSpliterator<E> spliterator, Consumer<? super E> consumer); static final Set<SpliteratorDecompositionStrategy> ALL_STRATEGIES = unmodifiableSet(new LinkedHashSet<>(asList(values()))); } private static <E extends @Nullable Object> @Nullable GeneralSpliterator<E> trySplitTestingSize(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
} } }; abstract <E extends @Nullable Object> void forEach( GeneralSpliterator<E> spliterator, Consumer<? super E> consumer); static final Set<SpliteratorDecompositionStrategy> ALL_STRATEGIES = unmodifiableSet(new LinkedHashSet<>(asList(values()))); } private static <E extends @Nullable Object> @Nullable GeneralSpliterator<E> trySplitTestingSize(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 12.1K bytes - Viewed (0)