- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 186 for Nonnull (0.27 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java
import java.util.Objects; import org.apache.maven.api.Session; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.Nullable; import static java.util.Objects.requireNonNull; /** * * * @since 4.0.0 */ @Experimental
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 7.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/MoreCollectors.java
import java.util.ArrayList; import java.util.List; import java.util.NoSuchElementException; import java.util.Optional; import java.util.function.Supplier; import java.util.stream.Collector; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * Collectors not present in {@code java.util.stream.Collectors} that are not otherwise associated * with a {@code com.google.common} type. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java
public static MavenOptions layerMavenOptions(Collection<MavenOptions> options) { List<MavenOptions> o = options.stream().filter(Objects::nonNull).toList(); if (o.isEmpty()) { throw new IllegalArgumentException("No options specified (or all were null)"); } else if (o.size() == 1) { return o.get(0); } else {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
* (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as * {@code requireNonNull}: Our use case is the one in which {@code T} has parametric nullness—and * thus its value may be legitimately {@code null}.) */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullnessCasts.java
* (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as * {@code requireNonNull}: Our use case is the one in which {@code T} has parametric nullness—and * thus its value may be legitimately {@code null}.) */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Equivalence.java
* and Equivalence<Object>. */ private final Equivalence<? super @NonNull T> equivalence; @ParametricNullness private final T reference; private Wrapper(Equivalence<? super @NonNull T> equivalence, @ParametricNullness T reference) { this.equivalence = checkNotNull(equivalence); this.reference = reference; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Equivalence.java
* and Equivalence<Object>. */ private final Equivalence<? super @NonNull T> equivalence; @ParametricNullness private final T reference; private Wrapper(Equivalence<? super @NonNull T> equivalence, @ParametricNullness T reference) { this.equivalence = checkNotNull(equivalence); this.reference = reference; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 14.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 22.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
int index = e.ordinal(); return index < enumConstants.length && enumConstants[index] == e; } return false; } /** * Returns {@code element} cast to {@code E}, if it actually is a nonnull E. Otherwise, throws * either a NullPointerException or a ClassCastException as appropriate. */ private void checkIsE(Object element) { checkNotNull(element); if (!isActuallyE(element)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumMultiset.java
int index = e.ordinal(); return index < enumConstants.length && enumConstants[index] == e; } return false; } /** * Returns {@code element} cast to {@code E}, if it actually is a nonnull E. Otherwise, throws * either a NullPointerException or a ClassCastException as appropriate. */ private void checkIsE(Object element) { checkNotNull(element); if (!isActuallyE(element)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9K bytes - Click Count (0)