- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 815 for Nullable (0.06 sec)
-
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) -
guava/src/com/google/common/collect/GeneralRange.java
static <T extends @Nullable Object> GeneralRange<T> all(Comparator<? super T> comparator) { return new GeneralRange<>(comparator, false, null, OPEN, false, null, OPEN); } /** * Returns everything above the endpoint relative to the specified comparator, with the specified * endpoint behavior. */ static <T extends @Nullable Object> GeneralRange<T> downTo(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Collection; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * When describing the features of the collection produced by a given generator (i.e. in a call to * {@link * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Objects.java
*/ package com.google.common.base; import com.google.common.annotations.GwtCompatible; import java.util.Arrays; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Helper functions that can operate on any {@code Object}. * * <p>See the Guava User Guide on <a * href="https://github.com/google/guava/wiki/CommonObjectUtilitiesExplained">writing {@code Object}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
* found at the given file or in the given directory. * * @since 4.0.0 */ @Nullable Path locateExistingPom(@Nonnull Path project); } @Nullable ModelSource resolve(@Nonnull ModelLocator modelLocator, @Nonnull String relative); @Nonnull static ModelSource fromPath(@Nonnull Path path) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 29 18:21:40 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AsyncFunction.java
*/ @GwtCompatible @FunctionalInterface @ElementTypesAreNonnullByDefault public interface AsyncFunction<I extends @Nullable Object, O extends @Nullable Object> { /** * Returns an output {@code Future} to use in place of the given {@code input}. The output {@code * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for * asynchronous derivations. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 10:45:35 UTC 2021 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link AbstractLoadingCache}. * * @author Charles Fry */ public class AbstractLoadingCacheTest extends TestCase { public void testGetUnchecked_checked() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
*/ @GwtCompatible @ElementTypesAreNonnullByDefault public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMap<K, V> implements BiMap<K, V>, Serializable { /** Returns a new, empty {@code HashBiMap} with the default initial capacity (16). */ public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create() { return create(16); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java
import java.util.Collection; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates collections, containing sample elements, to be tested. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestCollectionGenerator<E extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
assertTrue(Thread.holdsLock(mutex)); return super.containsValue(value); } @Override public @Nullable V get(Object key) { assertTrue(Thread.holdsLock(mutex)); return super.get(key); } @Override public @Nullable V put(K key, V value) { assertTrue(Thread.holdsLock(mutex)); return super.put(key, value); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0)