Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for getKey (0.2 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSnapshotMetadata.java

            artifacts.add(artifact);
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId() + ':' + getVersion();
        }
    
        public static Object getKey(Artifact artifact) {
            return artifact.getGroupId() + ':' + artifact.getArtifactId() + ':' + artifact.getBaseVersion();
        }
    
        protected String getKey(String classifier, String extension) {
            return classifier + ':' + extension;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadata.java

        @Override
        public MavenMetadata setPath(Path path) {
            return new LocalSnapshotMetadata(metadata, path, timestamp);
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId() + ':' + getVersion();
        }
    
        public static Object getKey(Artifact artifact) {
            return artifact.getGroupId() + ':' + artifact.getArtifactId() + ':' + artifact.getBaseVersion();
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

            Map<AccessorKey, ReplacedAccessor> keptAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties);
            keptAccessors.entrySet().removeIf(e -> {
                if (seenUpgradedAccessorsChanges.contains(e.getKey())) {
                    return true;
                }
                ReplacedAccessor accessor = e.getValue();
                return accessor.getBinaryCompatibility() == BinaryCompatibility.ACCESSORS_KEPT;
            });
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadata.java

                metadata = metadata.withPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId();
        }
    
        public static Object getKey(Artifact artifact) {
            return artifact.getGroupId() + ':' + artifact.getArtifactId();
        }
    
        @Deprecated
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java

                    snapshots.put(snapshotMetadata.getKey(), snapshotMetadata);
                }
            }
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            for (Artifact artifact : artifacts) {
                if (artifact.isSnapshot()) {
                    Object key = RemoteSnapshotMetadata.getKey(artifact);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                    }
                    System.setProperty(e.getKey(), e.getValue());
                });
            }
        }
    
        public String updateConfiguration() {
            final StringBuilder buf = new StringBuilder();
            updateConfigListenerMap.entrySet().stream().forEach(e -> {
                buf.append(e.getKey()).append(": ");
                try {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        private static <T> Map<AccessorKey, T> diff(Map<AccessorKey, T> first, Map<AccessorKey, T> second) {
            return first.entrySet().stream()
                .filter(e -> !second.containsKey(e.getKey()))
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadata.java

                        .build();
    
                versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv);
            }
    
            artifacts.clear();
    
            Versioning versioning = recessive.getVersioning();
            if (versioning != null) {
                for (SnapshotVersion sv : versioning.getSnapshotVersions()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            Map.Entry<Artifact, Path> resolved = session.resolveArtifact(coord);
            assertNotNull(resolved);
            assertNotNull(resolved.getKey());
            assertNotNull(resolved.getValue());
            Optional<Path> op = session.getArtifactPath(resolved.getKey());
            assertTrue(op.isPresent());
            assertEquals(resolved.getValue(), op.get());
        }
    
        @Test
        void testBuildProject() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
Back to top