- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for NonNull (0.35 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) { // Unsafe, but we can't do much about it now. return Iterables.<@NonNull E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate); } /** * Returns a fluent iterable that applies {@code function} to each element of this fluentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) { // Unsafe, but we can't do much about it now. return Iterables.<@NonNull E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate); } /** * Returns a fluent iterable that applies {@code function} to each element of this fluentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
Class<? super @NonNull E> type, E... contents) { return new MinimalCollection<>(type, true, contents); } private final E[] contents; private final Class<? super @NonNull E> type; private final boolean allowNulls; // Package-private so that it can be extended. MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
new ListFuture<V>(ImmutableList.copyOf(futures), true); // allAsList ensures that it fills the output list with V instances. @SuppressWarnings("nullness") ListenableFuture<List<V>> nonNull = nullable; return nonNull; } /** * Creates a new {@code ListenableFuture} whose value is a list containing the values of all its * input futures, if all succeed. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
throw new UnsupportedOperationException(); } @Override public @Nullable V merge( K key, @NonNull V value, BiFunction<? super @NonNull V, ? super @NonNull V, ? extends @Nullable V> function) { throw new UnsupportedOperationException(); } @Override public BiMap<V, K> inverse() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
assertEquals(strictlyOrderedList, ordering.sortedCopy(shuffledList)); if (!strictlyOrderedList.contains(null)) { List<@NonNull T> nonNullShuffledList = (List<@NonNull T>) shuffledList; assertEquals(strictlyOrderedList, ordering.immutableSortedCopy(nonNullShuffledList)); } } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
assertEquals(strictlyOrderedList, ordering.sortedCopy(shuffledList)); if (!strictlyOrderedList.contains(null)) { List<@NonNull T> nonNullShuffledList = (List<@NonNull T>) shuffledList; assertEquals(strictlyOrderedList, ordering.immutableSortedCopy(nonNullShuffledList)); } } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
strategy.forEach(spliteratorSupplier.get(), resultsForStrategy::add); // TODO(cpovirk): better failure messages if ((characteristics & Spliterator.NONNULL) != 0) { assertFalse(resultsForStrategy.contains(null)); } if ((characteristics & Spliterator.SORTED) != 0) { Comparator<? super E> comparator = spliterator.getComparator();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
strategy.forEach(spliteratorSupplier.get(), resultsForStrategy::add); // TODO(cpovirk): better failure messages if ((characteristics & Spliterator.NONNULL) != 0) { assertFalse(resultsForStrategy.contains(null)); } if ((characteristics & Spliterator.SORTED) != 0) { Comparator<? super E> comparator = spliterator.getComparator();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
import java.util.TreeMap; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.function.BinaryOperator; import java.util.stream.Collector; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * Static utility methods pertaining to {@link Map} instances (including instances of {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0)