Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,701 for asString (0.07 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

            public int hashCode() {
                return delegate.hashCode();
            }
    
            @Override
            public String asString() {
                return delegate.toString();
            }
    
            @Override
            public String toString() {
                return asString();
            }
        }
    
        static class DefaultVersionRange implements VersionRange {
            private final VersionScheme versionScheme;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        @Override
        public void setProperty(Project project, String key, String value) {
            Properties properties = getMavenProject(project).getProperties();
            if (value == null) {
                properties.remove(key);
            } else {
                properties.setProperty(key, value);
            }
        }
    
        @Override
        public Map<String, String> getProperties(Project project) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Version.java

     * @see org.apache.maven.api.Session#parseVersion(String)
     * @see VersionConstraint
     * @see VersionRange
     */
    @Experimental
    public interface Version extends Comparable<Version> {
        /**
         * Returns a string representation of this version.
         * @return the string representation of this version
         */
        @Nonnull
        String asString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

         */
        @Nullable
        Boundary getLowerBoundary();
    
        /**
         * Returns a string representation of this version range
         * @return the string representation of this version range
         */
        @Nonnull
        String asString();
    
        /**
         * Represents range boundary.
         */
        interface Boundary {
            /**
             * The bounding version.
             */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

        }
    
        @Nonnull
        default ArtifactCoordinates create(
                @Nonnull Session session,
                String groupId,
                String artifactId,
                String version,
                String classifier,
                String extension,
                String type) {
            return create(ArtifactCoordinatesFactoryRequest.build(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

            private Session session;
            private String groupId;
            private String artifactId;
            private String version;
            private String classifier;
            private String extension;
            private String type;
            private String coordinateString;
            private String scope;
            private boolean optional;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

         */
        boolean contains(@Nonnull Version version);
    
        /**
         * Returns a string representation of this version constraint
         * @return the string representation of this version constraint
         */
        @Nonnull
        String asString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

            return new ModelVersionParser() {
                @Override
                public Version parseVersion(String version) {
                    requireNonNull(version, "version");
                    return new Version() {
                        @Override
                        public String asString() {
                            return version;
                        }
    
                        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

        @Nonnull
        Session getSession();
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        String getCoordinatesString();
    
        @Nonnull
        static ArtifactCoordinatesFactoryRequest build(
                @Nonnull Session session, String groupId, String artifactId, String version, String extension) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. cmd/postpolicyform.go

    	case int64:
    		return v, nil
    	case int:
    		return int64(v), nil
    	case string:
    		i, err := strconv.Atoi(v)
    		return int64(i), err
    	default:
    		return 0, errors.New("Invalid number format")
    	}
    }
    
    // isString - Safely check if val is of type string without causing panic.
    func isString(val interface{}) bool {
    	_, ok := val.(string)
    	return ok
    }
    
    // ContentLengthRange - policy content-length-range field.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top