Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Hash (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

                hash = hash * 31 + Objects.hashCode(dependency.getGroupId());
                hash = hash * 31 + Objects.hashCode(dependency.getArtifactId());
                hash = hash * 31 + Objects.hashCode(dependency.getVersion());
                hash = hash * 31 + Objects.hashCode(dependency.getType());
                hash = hash * 31 + Objects.hashCode(dependency.getClassifier());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java

            final List<RemoteRepository> repositories;
            final int hash;
    
            Key(String groupId, String artifactId, List<RemoteRepository> repositories) {
                this.groupId = groupId;
                this.artifactId = artifactId;
                this.repositories = repositories;
                this.hash = Objects.hash(groupId, artifactId, repositories);
            }
    
            @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  3. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * @since 4.0.0
         */
        public FileSource(Path path) {
            this.path = Objects.requireNonNull(path, "path cannot be null").toAbsolutePath();
            this.hashCode = Objects.hash(path);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return Files.newInputStream(path);
        }
    
        @Override
        public String getLocation() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                this.repositories.addAll(remoteRepositories);
    
                int hash = 17;
                hash = hash * 31 + artifactHashCode(artifact);
                hash = hash * 31 + (resolveManagedVersions ? 1 : 2);
                hash = hash * 31 + repositoriesHashCode(repositories);
                this.hashCode = hash;
            }
    
            @Override
            public int hashCode() {
                return hashCode;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

                int hash = 17;
                hash = hash * 31 + CacheUtils.pluginHashCode(plugin);
                hash = hash * 31 + Objects.hashCode(workspace);
                hash = hash * 31 + Objects.hashCode(localRepo);
                hash = hash * 31 + RepositoryUtils.repositoriesHashCode(repositories);
                hash = hash * 31 + Objects.hashCode(parentRealm);
                hash = hash * 31 + this.foreignImports.hashCode();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + (buildReactor == null ? 0 : buildReactor.hashCode());
            hash = hash * 31 + (ideWorkspace == null ? 0 : ideWorkspace.hashCode());
            hash = hash * 31 + (userLocalArtifactRepository == null ? 0 : userLocalArtifactRepository.hashCode());
    
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                    && Objects.equals(classifier, that.classifier)
                    && Objects.equals(version, that.version);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(groupId, artifactId, type, classifier, version);
        }
    
        @Override
        public String getBaseVersion() {
            if (baseVersion == null && version != null) {
                setBaseVersionInternal(version);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Feb 09 19:20:54 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

            private final String tag;
    
            private final int hash;
    
            GavCacheKey(String groupId, String artifactId, String version, String tag) {
                this(gav(groupId, artifactId, version), tag);
            }
    
            GavCacheKey(String gav, String tag) {
                this.gav = gav;
                this.tag = tag;
                this.hash = Objects.hash(gav, tag);
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                int hash = 17;
                hash = hash * 31 + Objects.hashCode(groupId);
                hash = hash * 31 + Objects.hashCode(artifactId);
                hash = hash * 31 + Objects.hashCode(version);
                hash = hash * 31 + Objects.hashCode(dependencyArtifacts);
                hash = hash * 31 + Objects.hashCode(workspace);
                hash = hash * 31 + Objects.hashCode(localRepo);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

        }
    
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top