- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 884 for Nullable (0.05 sec)
-
android/guava/src/com/google/common/collect/Lists.java
*/ public static <E extends @Nullable Object> List<E> asList( @ParametricNullness E first, @ParametricNullness E second, E[] rest) { return new TwoPlusArrayList<>(first, second, rest); } /** * @see Lists#asList(Object, Object[]) */ private static final class OnePlusArrayList<E extends @Nullable Object> extends AbstractList<E> implements Serializable, RandomAccess {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
*/ @GwtCompatible public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> { private @Nullable T nextOrNull; /** * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null, * creates a new empty iterator. */ protected AbstractSequentialIterator(@Nullable T firstOrNull) { this.nextOrNull = firstOrNull; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
} @GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(@Nullable Object[] dst, int offset) { return delegateList.copyIntoArray(dst, offset); } @Override @Nullable Object @Nullable [] internalArray() { return delegateList.internalArray(); } @Override int internalArrayStart() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
* Check if the personality is "maven3". */ public static boolean mavenMaven3Personality(@Nullable Map<String, ?> userProperties) { return doGet(userProperties, Constants.MAVEN_MAVEN3_PERSONALITY, false); } /** * Check if the consumer POM feature is active. */ public static boolean consumerPom(@Nullable Map<String, ?> userProperties) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Static methods used to implement {@link Futures#getChecked(Future, Class)}. */ @J2ktIncompatible @GwtIncompatible final class FuturesGetChecked { @CanIgnoreReturnValue @ParametricNullness static <V extends @Nullable Object, X extends Exception> V getChecked( Future<V> future, Class<X> exceptionClass) throws X {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
List<@Nullable String> listWithNulls = asList("a", null, "b"); assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls)); } { ImmutableList.Builder<String> builder = ImmutableList.builder(); Iterator<@Nullable String> iteratorWithNulls = Arrays.<@Nullable String>asList("a", null, "b").iterator(); assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
android/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) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
*/ <T> boolean replace(@Nonnull Key<T> key, @Nullable T oldValue, @Nullable T newValue); /** * Gets the session data associated with the specified key. * * @param key the key for which to retrieve the session data, must not be {@code null} * @return the session data associated with the key or {@code null} if none */ @Nullable <T> T get(@Nonnull Key<T> key); /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
* the License. */ package com.google.common.base; import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.Nullable; /** * A class that can supply objects of a single type; a pre-Java-8 version of {@link * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory,Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jun 19 17:20:48 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
final C first = first(); @Override protected @Nullable C computeNext(C previous) { return equalsOrThrow(previous, first) ? null : domain.previous(previous); } }; } private static boolean equalsOrThrow(Comparable<?> left, @Nullable Comparable<?> right) { return right != null && Range.compareOrThrow(left, right) == 0; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0)