- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,326 for nullable (0.05 seconds)
-
guava/src/com/google/common/base/NullnessCasts.java
* there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}. * (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Suppliers.java
*/ public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose( Function<? super F, T> function, Supplier<F> supplier) { return new SupplierComposition<>(function, supplier); } private static final class SupplierComposition< F extends @Nullable Object, T extends @Nullable Object> implements Supplier<T>, Serializable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
List<@Nullable Integer> list4 = Lists.newArrayList(1, 2); List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2); List<@Nullable Integer> list6 = Lists.newArrayList(2); List<@Nullable Integer> list7 = Lists.newArrayList(nullInt); List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt); List<@Nullable List<@Nullable Integer>> list =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
List<@Nullable Integer> list4 = Lists.newArrayList(1, 2); List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2); List<@Nullable Integer> list6 = Lists.newArrayList(2); List<@Nullable Integer> list7 = Lists.newArrayList(nullInt); List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt); List<@Nullable List<@Nullable Integer>> list =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
@Override public boolean containsValue(@Nullable Object value) { return inverse.containsKey(value); } // Modification Operations @CanIgnoreReturnValue @Override public @Nullable V put(@ParametricNullness K key, @ParametricNullness V value) { return putInBothMaps(key, value, false); } @CanIgnoreReturnValue @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java
import java.util.Map.Entry; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Implementation of {@link Multimaps#filterKeys(SetMultimap, Predicate)}. * * @author Louis Wasserman */ @GwtCompatible final class FilteredKeySetMultimap<K extends @Nullable Object, V extends @Nullable Object> extends FilteredKeyMultimap<K, V> implements FilteredSetMultimap<K, V> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractTable.java
} } return false; } @Override public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) { Map<C, V> row = safeGet(rowMap(), rowKey); return row != null && Maps.safeContainsKey(row, columnKey); } @Override public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) { Map<C, V> row = safeGet(rowMap(), rowKey);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumHashBiMap.java
@GwtCompatible @J2ktIncompatible public final class EnumHashBiMap<K extends Enum<K>, V extends @Nullable Object> extends AbstractBiMap<K, V> { transient Class<K> keyTypeOrObjectUnderJ2cl; /** * Returns a new, empty {@code EnumHashBiMap} using the specified key type. * * @param keyType the key type */ public static <K extends Enum<K>, V extends @Nullable Object> EnumHashBiMap<K, V> create( Class<K> keyType) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/AbstractIterator.java
READY, NOT_READY, DONE, FAILED, } private @Nullable T next; protected abstract @Nullable T computeNext(); @CanIgnoreReturnValue protected final @Nullable T endOfData() { state = State.DONE; return null; } @Override public final boolean hasNext() { checkState(state != State.FAILED); switch (state) { case DONE: return false;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java
* * @author Kurt Alfred Kluever * @since 3.0 */ @GwtCompatible public abstract class ForwardingSortedSetMultimap< K extends @Nullable Object, V extends @Nullable Object> extends ForwardingSetMultimap<K, V> implements SortedSetMultimap<K, V> { /** Constructor for use by subclasses. */ protected ForwardingSortedSetMultimap() {} @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.2K bytes - Click Count (0)