- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 815 for Nullable (0.1 sec)
-
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** Static methods used to implement {@link Futures#getChecked(Future, Class)}. */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault final class FuturesGetChecked { @CanIgnoreReturnValue @ParametricNullness static <V extends @Nullable Object, X extends Exception> V getChecked(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */ @GwtCompatible @ElementTypesAreNonnullByDefault final class NullnessCasts { /** * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that * that conversion is safe. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 10 20:36:34 UTC 2022 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/NullnessCasts.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */ @GwtCompatible @ElementTypesAreNonnullByDefault final class NullnessCasts { /** * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that * that conversion is safe. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 10 20:36:34 UTC 2022 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Test cases for a {@link Table} implementation supporting reads and writes. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class AbstractTableTest<C extends @Nullable Character> extends AbstractTableReadTest<C> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates map entries using sample keys and sample values. * * @author Jesse Wilson */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestMapEntrySetGenerator< K extends @Nullable Object, V extends @Nullable Object> implements TestSetGenerator<Map.Entry<K, V>> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
* @since 33.2.0 (available since 22.0 in guava-jre) */ @SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using streams. public static <T extends @Nullable Object, E extends @Nullable Object, M extends Multiset<E>> Collector<T, ?, M> toMultiset( Function<? super T, E> elementFunction, ToIntFunction<? super T> countFunction, Supplier<M> multisetSupplier) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
* * <p>To collect to an {@link ImmutableMultiset}, use {@link * ImmutableMultiset#toImmutableMultiset}. * * @since 22.0 */ public static <T extends @Nullable Object, E extends @Nullable Object, M extends Multiset<E>> Collector<T, ?, M> toMultiset( Function<? super T, E> elementFunction, ToIntFunction<? super T> countFunction, Supplier<M> multisetSupplier) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
} static <K, V> ImmutableBiMap<K, V> fromEntryArray(int n, @Nullable Entry<K, V>[] entryArray) { checkPositionIndex(n, entryArray.length); int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); int mask = tableSize - 1; @Nullable ImmutableMapEntry<K, V>[] keyTable = createEntryArray(tableSize); @Nullable ImmutableMapEntry<K, V>[] valueTable = createEntryArray(tableSize); /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java
import java.util.concurrent.Callable; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import org.checkerframework.checker.nullness.qual.Nullable; /** * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 2.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
@Override public boolean equals(@Nullable Object o) { return false; } @Override public int hashCode() { return super.hashCode(); } } /** Test class that returns true if the test object is null */ private static class InvalidEqualsNullObject { @Override public boolean equals(@Nullable Object o) { return o == this || o == null; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0)