- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 884 for Nullable (0.04 sec)
-
android/guava/src/com/google/common/collect/SortedMultisets.java
} } private static <E extends @Nullable Object> E getElementOrThrow(@Nullable Entry<E> entry) { if (entry == null) { throw new NoSuchElementException(); } return entry.getElement(); } private static <E extends @Nullable Object> @Nullable E getElementOrNull( @Nullable Entry<E> entry) { return (entry == null) ? null : entry.getElement(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
android/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) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
@SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = threadPool.submit( new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws InterruptedException { new Producer(q, 50).call(); new Interrupter(mainThread).run(); new Producer(q, 50).call();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java
*/ package com.google.common.util.concurrent; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Preconditions; import java.util.concurrent.Executor; import org.jspecify.annotations.Nullable; /** * A {@link ListenableFuture} which forwards all its method calls to another future. Subclasses * should override one or more methods to modify the behavior of the backing future as desired perRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
*/ public static <T extends @Nullable Object> Predicate<T> notNull() { return ObjectPredicate.NOT_NULL.withNarrowedType(); } /** * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code * false}. * * <p><b>Discouraged:</b> Prefer using {@code predicate.negate()}. */ public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
* * @author Jared Levy * @since 2.0 */ @DoNotMock("Use ImmutableMultimap, HashMultimap, or another implementation") @GwtCompatible public interface Multimap<K extends @Nullable Object, V extends @Nullable Object> { // Query Operations /** * Returns the number of key-value pairs in this multimap. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
* @return the replacement string, or {@code null} if no escaping was needed */ public static @Nullable String computeReplacement(UnicodeEscaper escaper, int cp) { return stringOrNull(escaper.escape(cp)); } private static @Nullable String stringOrNull(char @Nullable [] in) { return (in == null) ? null : new String(in); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java
return forwardMultiset(); } @Override public @Nullable Entry<E> firstEntry() { return forwardMultiset().lastEntry(); } @Override public @Nullable Entry<E> lastEntry() { return forwardMultiset().firstEntry(); } abstract Iterator<Entry<E>> entryIterator(); @Nullable private transient Set<Entry<E>> entrySet; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
public E last() { return delegate.last(); } @Override public @Nullable E lower(E e) { return delegate.lower(checkValid(e)); } @Override public @Nullable E pollFirst() { return delegate.pollFirst(); } @Override public @Nullable E pollLast() { return delegate.pollLast(); } @Override public boolean remove(Object object) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.8K bytes - Viewed (0) -
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, @Nullable Object>of( ToOptionalState::new, (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o), ToOptionalState::combine, state -> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0)