Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setOptional (0.06 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        void setRelease(boolean release);
    
        List<ArtifactVersion> getAvailableVersions();
    
        void setAvailableVersions(List<ArtifactVersion> versions);
    
        boolean isOptional();
    
        void setOptional(boolean optional);
    
        ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException;
    
        boolean isSelectedVersionKnown() throws OverConstrainedVersionException;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java

     * is optional or mandatory), and possible exclusions for transitive dependencies.
     * The {@linkplain #getVersionConstraint() version} and the {@linkplain #getOptional() obligation}
     * may not be defined precisely.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DependencyCoordinates extends ArtifactCoordinates {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MoreCollectors.java

      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              ToOptionalState::new,
              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MoreCollectors.java

      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              ToOptionalState::new,
              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

         * The value is computed during the dependencies collection phase.
         *
         * @return {@code true} if the dependency is optional, or {@code false} if mandatory
         * @see DependencyCoordinates#getOptional()
         */
        boolean isOptional();
    
        /**
         * {@return coordinates with the same identifiers as this dependency}.
         */
        @Nonnull
        @Override
        DependencyCoordinates toCoordinates();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top