- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 974 for nullable (1.1 sec)
-
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@code GeneralRange}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class GeneralRangeTest extends TestCase { private static final Ordering<@Nullable Integer> ORDERING = Ordering.<Integer>natural().<Integer>nullsFirst(); private static final List<@Nullable Integer> IN_ORDER_VALUES =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
*/ public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition( Iterable<T> iterable, int size) { checkNotNull(iterable); checkArgument(size > 0); return new FluentIterable<List<@Nullable T>>() { @Override public Iterator<List<@Nullable T>> iterator() { return Iterators.paddedPartition(iterable.iterator(), size);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 18:35:28 UTC 2025 - 43.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
@SuppressWarnings({"unchecked", "nullness"}) static int unsafeCompare( @Nullable Comparator<?> comparator, @Nullable Object o1, @Nullable Object o2) { if (comparator == null) { return ((Comparable<@Nullable Object>) o1).compareTo(o2); } else { return ((Comparator<@Nullable Object>) comparator).compare(o1, o2); } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
@Override public @Nullable V remove(@Nullable Object key) { Map<K, V> delegate = delegateOrNull(); if (delegate != null) { return delegate.remove(key); } Object oldValue = removeHelper(key); return (oldValue == NOT_FOUND) ? null : (V) oldValue; } private @Nullable Object removeHelper(@Nullable Object key) { if (needsAllocArrays()) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 27K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
* not have been inserted consecutively. */ private final @Nullable List<NodeConnection<N>> orderedNodeConnections; private int predecessorCount; private int successorCount; private DirectedGraphConnections( Map<N, Object> adjacentNodeValues, @Nullable List<NodeConnection<N>> orderedNodeConnections, int predecessorCount, int successorCount) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 34.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
@VisibleForTesting final transient @Nullable Object[] array; private final transient int size; RegularImmutableList(@Nullable Object[] array, int size) { this.array = array; this.size = size; } @Override public int size() { return size; } @Override boolean isPartialView() { return false; } @Override @Nullable Object[] internalArray() { return array;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredMultimapValues.java
import java.util.Iterator; import java.util.Map.Entry; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * Implementation for {@link FilteredMultimap#values()}. * * @author Louis Wasserman */ @GwtCompatible final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object> extends AbstractCollection<V> { @Weak private final FilteredMultimap<K, V> multimap;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
@CanIgnoreReturnValue @Override public @Nullable V putIfAbsent(K key, V value) { return delegate().putIfAbsent(key, value); } @CanIgnoreReturnValue @Override public boolean remove(@Nullable Object key, @Nullable Object value) { return delegate().remove(key, value); } @CanIgnoreReturnValue @Override public @Nullable V replace(K key, V value) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 16:58:16 UTC 2025 - 2.6K bytes - Viewed (0)