Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 291 for notNull (0.29 seconds)

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

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactManager extends Service {
    
        /**
         * Returns the path of the file previously associated to this artifact
         * or {@code Optional.empty()} if no path has been associated.
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Artifact artifact);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                        return request;
                    }
    
                    @Nonnull
                    @Override
                    public String getProjectId() {
                        return res.getProjectId();
                    }
    
                    @Nonnull
                    @Override
                    public Optional<Path> getPomFile() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> charactersOf(str).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
      public void testFlatMap_nullStream() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

         * (prefixed with {@code env.}).
         *
         * @return the system properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getSystemProperties();
    
        /**
         * Returns the properly overlaid map of properties: system + user.
         */
        @Nonnull
        Map<String, String> getEffectiveProperties();
    
        /**
         * Returns the start time of the session.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

        /**
         * {@return the group identifier of the artifact}.
         *
         * @see ArtifactCoordinates#getGroupId()
         */
        @Nonnull
        String getGroupId();
    
        /**
         * {@return the identifier of the artifact}.
         *
         * @see ArtifactCoordinates#getArtifactId()
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * {@return the version of the artifact}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @throws DependencyResolverException
         */
        List<Node> flatten(@Nonnull Session session, @Nonnull Node node, @Nullable PathScope scope)
                throws DependencyResolverException;
    
        @Nonnull
        default DependencyResolverResult flatten(
                @Nonnull Session session, @Nonnull Project project, @Nonnull PathScope scope) {
            return flatten(DependencyResolverRequest.build(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 16 14:15:37 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

         *
         * @return the operating system name (never null)
         */
        @Nonnull
        String name();
    
        /**
         * Returns the OS architecture as reported by the system property "os.arch".
         * The value is converted to lowercase for consistency.
         *
         * @return the operating system architecture (never null)
         */
        @Nonnull
        String arch();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 10 14:12:18 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

         *
         * @throws TransportProviderException if passed in remote repository has invalid remote URL or unsupported protocol.
         */
        @Nonnull
        Transport transport(@Nonnull Session session, @Nonnull RemoteRepository repository);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

        /**
         * The packaging id.
         */
        @Nonnull
        @Override
        String id();
    
        /**
         * The language of this packaging.
         */
        @Nonnull
        default Language language() {
            return type().getLanguage();
        }
    
        /**
         * The type of main artifact produced by this packaging.
         */
        @Nonnull
        Type type();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         */
        <T> boolean replace(@Nonnull Key<T> key, @Nullable T oldValue, @Nullable T newValue);
    
        /**
         * Gets the session data associated with the specified key.
         *
         * @param key the key for which to retrieve the session data, must not be {@code null}
         * @return the session data associated with the key or {@code null} if none
         */
        @Nullable
        <T> T get(@Nonnull Key<T> key);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Click Count (0)
Back to Top