- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 887 for nullable (0.07 sec)
-
guava/src/com/google/common/reflect/TypeParameter.java
* @author Ben Yu * @since 12.0 */ /* * 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
* "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. * * @author Jared Levy * @since 2.0 */ @GwtCompatible public final class ArrayListMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractListMultimap<K, V> { // Default from ArrayList private static final int DEFAULT_VALUES_PER_KEY = 3; @VisibleForTesting transient int expectedValuesPerKey; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
guava/src/com/google/common/base/PairwiseEquivalence.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.Iterator; import org.jspecify.annotations.Nullable; @GwtCompatible final class PairwiseEquivalence<E, T extends @Nullable E> extends Equivalence<Iterable<T>> implements Serializable { final Equivalence<E> elementEquivalence; PairwiseEquivalence(Equivalence<E> elementEquivalence) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
public boolean isEmpty() { return size() == 0; } @Override public boolean containsKey(@Nullable Object key) { return get(key) != null; } @Override public boolean containsValue(@Nullable Object value) { return values().contains(value); } private transient @Nullable ImmutableSet<Entry<K, V>> cachedEntrySet = null; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java
import org.jspecify.annotations.Nullable; /** * This class provides a skeletal implementation of the {@link ListIterator} interface across a * fixed number of elements that may be retrieved by position. It does not support {@link #remove}, * {@link #set}, or {@link #add}. * * @author Jared Levy */ @GwtCompatible abstract class AbstractIndexedListIterator<E extends @Nullable Object> extends UnmodifiableListIterator<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
@GwtCompatible public abstract class FluentFuture<V extends @Nullable Object> extends GwtFluentFutureCatchingSpecialization<V> { /** * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}. */ abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
return new TreeRow(rowKey); } private final class TreeRow extends Row implements SortedMap<C, V> { final @Nullable C lowerBound; final @Nullable C upperBound; TreeRow(R rowKey) { this(rowKey, null, null); } TreeRow(R rowKey, @Nullable C lowerBound, @Nullable C upperBound) { super(rowKey); this.lowerBound = lowerBound; this.upperBound = upperBound;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
return instance; } private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args) throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) { Assert.assertTrue( factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); } return returnValue; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) { this.typeVariableImpl = typeVariableImpl; } @Override public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable { String methodName = method.getName(); Method typeVariableMethod = typeVariableMethods.get(methodName);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0)