Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 253 for nonNull (0.24 sec)

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

         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .artifactCoordinates(requireNonNull(artifactCoordinates, "artifactCoordinates cannot be null"))
                    .build();
        }
    
        @Nonnull
        static VersionResolverRequest build(
                @Nonnull Session session,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. android/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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

     * @see DependencyScope
     */
    @Experimental
    @Immutable
    public interface PathScope extends ExtensibleEnum {
    
        // TODO: what if I simply want all dependencies ?
        @Nonnull
        ProjectScope projectScope();
    
        @Nonnull
        Set<DependencyScope> dependencyScopes();
    
        PathScope MAIN_COMPILE = pathScope(
                "main-compile",
                ProjectScope.MAIN,
                DependencyScope.COMPILE_ONLY,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/NullsFirstOrdering.java

        return ordering.<T>reverse().<@NonNull S>nullsLast();
      }
    
      @SuppressWarnings("unchecked") // still need the right way to explain this
      @Override
      public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() {
        return (Ordering<@Nullable S>) this;
      }
    
      @Override
      public <S extends @Nullable T> Ordering<@Nullable S> nullsLast() {
        return ordering.<@NonNull S>nullsLast();
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            }
    
            @Override
            @Nonnull
            public InputStream openStream() throws IOException {
                return Files.newInputStream(path);
            }
    
            @Override
            @Nonnull
            public String getLocation() {
                return location;
            }
    
            @Override
            @Nullable
            public Source resolve(@Nonnull String relative) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Path;
    
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Provides access to the contents of a source independently of the
     * backing store (e.g. file system, database, memory).
     * <p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

         * @return the version range resolver request, never {@code null}
         */
        @Nonnull
        static VersionRangeResolverRequest build(
                @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) {
            return build(session, artifactCoordinates, null, null);
        }
    
        /**
         * Creates a version range resolver request.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      private final Map<TypeToken<? extends @NonNull B>, B> backingMap = new HashMap<>();
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) {
        return trustedGet(TypeToken.of(type));
      }
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type) {
        return trustedGet(type.rejectTypeVariables());
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         *
         * @return the current working directory path
         */
        @Nonnull
        Path cwd();
    
        /**
         * Returns the Maven installation directory.
         * This is usually set by the Maven launcher script using the "maven.home" system property.
         *
         * @return the Maven installation directory path
         */
        @Nonnull
        Path installationDirectory();
    
        /**
         * Returns the user's home directory.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top