- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 1,303 for Nullable (0.06 seconds)
-
android/guava/src/com/google/common/collect/MoreCollectors.java
return (Collector) TO_OPTIONAL; } private static final Object NULL_PLACEHOLDER = new Object(); private static final Collector<@Nullable Object, ?, @Nullable Object> ONLY_ELEMENT = Collector.<@Nullable Object, ToOptionalState<Object>, @Nullable Object>of( () -> new ToOptionalState<>(null), (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o), ToOptionalState::combine,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; @GwtCompatible @NullMarked public class Helpers { // Clone of Objects.equals static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
private static final AtomicReferenceFieldUpdater<Waiter, @Nullable Thread> waiterThreadUpdater = AtomicReferenceFieldUpdater.<Waiter, @Nullable Thread>newUpdater( Waiter.class, Thread.class, "thread"); private static final AtomicReferenceFieldUpdater<Waiter, @Nullable Waiter> waiterNextUpdater = AtomicReferenceFieldUpdater.<Waiter, @Nullable Waiter>newUpdater( Waiter.class, Waiter.class, "next");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
@CanIgnoreReturnValue @Override public @Nullable V remove(@Nullable Object key) { return delegate().remove(key); } @Override public void clear() { delegate().clear(); } @Override public boolean containsKey(@Nullable Object key) { return delegate().containsKey(key); } @Override public boolean containsValue(@Nullable Object value) { return delegate().containsValue(value);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedLists.java
LAST_BEFORE { @Override public <E extends @Nullable Object> int resultIndex( Comparator<? super E> comparator, @ParametricNullness E key, List<? extends E> list, int foundIndex) { return FIRST_PRESENT.resultIndex(comparator, key, list, foundIndex) - 1; } }; abstract <E extends @Nullable Object> int resultIndex( Comparator<? super E> comparator,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
import org.jspecify.annotations.Nullable; /** * A simplistic set which implements the bare minimum so that it can be used in tests without * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they * can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
import org.jspecify.annotations.Nullable; /** * A simplistic set which implements the bare minimum so that it can be used in tests without * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they * can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java
*/ public InvokerException(@Nullable String message) { super(message); } /** * Constructs a new {@code InvokerException} with the specified detail message and cause. * * @param message the detail message explaining the cause of the exception * @param cause the underlying cause of the exception */ public InvokerException(@Nullable String message, @Nullable Throwable cause) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 10:47:37 GMT 2025 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Optional.java
* * @since 21.0 (but only since 33.4.0 in the Android flavor) */ @SuppressWarnings("NullableOptional") // Null passthrough is reasonable for type conversions public static <T> @Nullable Optional<T> fromJavaUtil( java.util.@Nullable Optional<T> javaUtilOptional) { return (javaUtilOptional == null) ? null : fromNullable(javaUtilOptional.orElse(null)); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
*/ @Override public boolean containsValue(@Nullable Object value) { return findEntryByValue(value) != ABSENT; } @Override public @Nullable V get(@Nullable Object key) { int entry = findEntryByKey(key); return (entry == ABSENT) ? null : values[entry]; } @Nullable K getInverse(@Nullable Object value) { int entry = findEntryByValue(value);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0)