Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 291 for notNull (0.05 seconds)

  1. 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) {
    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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

     */
    @Experimental
    public interface MojoExecution {
    
        @Nonnull
        Plugin getPlugin();
    
        @Nonnull
        PluginExecution getModel();
    
        @Nonnull
        MojoDescriptor getDescriptor();
    
        @Nonnull
        String getExecutionId();
    
        @Nonnull
        String getGoal();
    
        @Nonnull
        String getLifecyclePhase();
    
        @Nonnull
        Optional<XmlNode> getConfiguration();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * A range of versions.
     *
     * {@code VersionConstraint} objects are created using the
     * {@linkplain org.apache.maven.api.services.VersionParser} service.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

         * @return The path, relative to the local repository's base directory.
         */
        @Nonnull
        Path getPathForRemoteArtifact(
                @Nonnull Session session,
                @Nonnull LocalRepository local,
                @Nonnull RemoteRepository remote,
                @Nonnull Artifact artifact);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

         * @return the phase
         */
        @Nonnull
        String phase() default "";
    
        /**
         * Goal to fork. Note that specifying a phase overrides specifying a goal. The specified <code>goal</code> must be
         * another goal of the same plugin.
         * @return the goal
         */
        @Nonnull
        String goal() default "";
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         * @see #build(ProjectBuilderRequest)
         */
        @Nonnull
        default ProjectBuilderResult build(@Nonnull Session session, @Nonnull Source source)
                throws ProjectBuilderException {
            return build(ProjectBuilderRequest.build(session, source));
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Nov 16 20:36:20 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
        @Nonnull
        VersionConstraint parseVersionConstraint(@Nonnull String constraint);
    
        /**
         * Checks whether a given artifact version is considered a {@code SNAPSHOT} or not.
         */
        boolean isSnapshot(@Nonnull String version);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         * @return a PathMatcher that can be used to test if paths should be included
         * @throws NullPointerException if baseDirectory is null
         */
        @Nonnull
        PathMatcher createPathMatcher(
                @Nonnull Path baseDirectory,
                Collection<String> includes,
                Collection<String> excludes,
                boolean useDefaultExcludes);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 21 19:37:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. 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,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top