- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 212 for NonNull (0.05 sec)
-
guava/src/com/google/common/collect/Iterators.java
import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.Objects; import java.util.PriorityQueue; import java.util.Queue; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * This class contains static utility methods that operate on or return objects of type {@linkRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length); int mask = hashTable.length - 1; // Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull. // If knownRunStart == knownRunEnd, this is vacuously true. // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end // of the table. int knownRunStart = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Collection<V> valueCollection = keyToValueCollectionEntry.getValue(); return CollectSpliterators.map( valueCollection.spliterator(), Spliterator.DISTINCT | Spliterator.NONNULL, (V value) -> immutableEntry(key, value)); }, Spliterator.SIZED, size()); } @Override public void forEach(BiConsumer<? super K, ? super V> action) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
.getOrDefault(artifact.getArtifactId(), Collections.emptyMap()) .values() .stream() .filter(p -> Objects.nonNull(findArtifact(p, artifact, false))) .map(MavenProject::getVersion) .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList)); } @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
import java.util.SortedMap; import java.util.SortedSet; import java.util.TreeSet; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * A comparator, with additional methods to support common operations. This is an "enriched" version
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 39.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
String[] values = null; if (input instanceof String[]) { values = (String[]) input; } else if (input instanceof List) { values = ((List<?>) input).stream().filter(Objects::nonNull).map(Object::toString).toArray(n -> new String[n]); } else if (input instanceof String) { return input.toString(); } if (values != null) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Sets.java
*/ public ImmutableSet<@NonNull E> immutableCopy() { // Not using ImmutableSet.copyOf() to avoid iterating thrice (isEmpty, size, iterator). int maxSize = maxSize(); if (maxSize == 0) { return ImmutableSet.of(); } ImmutableSet.Builder<@NonNull E> builder = ImmutableSet.builderWithExpectedSize(maxSize); for (E element : this) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
// (which is fortunate because Animal Sniffer doesn't look for @IgnoreJRERequirement on fields) static final int SPLITERATOR_CHARACTERISTICS = Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED; ImmutableCollection() {} /** Returns an unmodifiable iterator across the elements in this collection. */ @Override public abstract UnmodifiableIterator<E> iterator();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
} /** * Returns a predicate that evaluates to {@code true} if the object reference being tested is not * null. * * <p><b>Discouraged:</b> Prefer using either {@code x -> x != null} or {@code Objects::nonNull}, * but note that lambdas and method references do not have human-readable {@link #toString()} * representations and are not serializable. */ public static <T extends @Nullable Object> Predicate<T> notNull() {Registered: Fri Dec 26 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/ImmutableMultimap.java
Collection<V> valueCollection = keyToValueCollectionEntry.getValue(); return CollectSpliterators.map( valueCollection.spliterator(), Spliterator.ORDERED | Spliterator.NONNULL | Spliterator.IMMUTABLE, (V value) -> immutableEntry(key, value)); }, Spliterator.SIZED | (this instanceof SetMultimap ? Spliterator.DISTINCT : 0), size()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 28.1K bytes - Viewed (0)