- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 804 for nullable (0.04 sec)
-
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/src/com/google/common/collect/TreeMultiset.java
header); } private static final class Reference<T> { private @Nullable T value; @Nullable T get() { return value; } void checkAndSet(@Nullable T expected, @Nullable T newValue) { if (value != expected) { throw new ConcurrentModificationException(); } value = newValue; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.8K 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) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
public static Object good( String a, int b, // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value. @SuppressWarnings("unused") OneConstantEnum oneConstantOnly, // noConstant doesn't matter since it can only be null @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) { return new GoodEquals(a, b); } // instance method ignored
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
* * <p>The serialized output consists of the number of entries, first key, first value, second key, * second value, and so on. */ static <K extends @Nullable Object, V extends @Nullable Object> void writeMap( Map<K, V> map, ObjectOutputStream stream) throws IOException { stream.writeInt(map.size()); for (Map.Entry<K, V> entry : map.entrySet()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testNullFriendlyTransform() { Iterator<@Nullable Integer> input = Arrays.<@Nullable Integer>asList(1, 2, null, 3).iterator(); Iterator<String> result = Iterators.transform( input, new Function<@Nullable Integer, String>() { @Override public String apply(@Nullable Integer from) { return String.valueOf(from); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultiset.java
import java.io.ObjectOutputStream; import java.util.HashMap; import org.jspecify.annotations.Nullable; /** * Multiset implementation backed by a {@link HashMap}. * * @author Kevin Bourrillion * @author Jared Levy * @since 2.0 */ @GwtCompatible public final class HashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
*/ static final class Node<K extends @Nullable Object, V extends @Nullable Object> extends SimpleEntry<K, V> { @Nullable Node<K, V> next; // the next node (with any key) @Weak @Nullable Node<K, V> previous; // the previous node (with any key) @Nullable Node<K, V> nextSibling; // the next node with the same key @Weak @Nullable Node<K, V> previousSibling; // the previous node with the same key
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K 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 per
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
SettableFuture<@Nullable Void> settableFuture = SettableFuture.create(); ArrayList<ListenableFuture<@Nullable Void>> results = new ArrayList<>(50_001); results.add( serializer.submitAsync( new AsyncCallable<@Nullable Void>() { @Override public ListenableFuture<@Nullable Void> call() { return settableFuture;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0)