Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 207 for notNull (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Indicates when the dependency will be used.
     * For example, it may be at compile time only, at runtime, or at test time.
     * For a given dependency, the scope is directly derived from the
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.Lifecycle;
    import org.apache.maven.api.Packaging;
    import org.apache.maven.api.Type;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.di.Inject;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Priority;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.model.Plugin;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Map;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for a {@link Table} implementation supporting reads and writes.
     *
     * @author Jared Levy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Result.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Base interface for service operation results in Maven. This interface defines the common contract
     * for operation results, providing access to the original request that generated this result.
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectArrays.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.Array;
    import java.util.Arrays;
    import java.util.Collection;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to object arrays.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nullable.java

    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    
    /**
     * The annotated element can be {@code null}.
     *
     * @see Nonnull
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. 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;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.java

            this.artifactTransformations = Stream.of("release", "latest", "snapshot")
                    .map(artifactTransformations::get)
                    .filter(Objects::nonNull)
                    .collect(Collectors.toList());
        }
    
        @Override
        public void transformForResolve(Artifact artifact, RepositoryRequest request)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSpliteratorNullable() {
        initCollectionWithNullElement();
        assertFalse(collection.spliterator().hasCharacteristics(Spliterator.NONNULL));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSpliteratorNotImmutable_collectionAllowsAdd() {
        // If add is supported, verify that IMMUTABLE is not reported.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/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}.)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top