Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for Key (0.15 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * Create a key using the given class as an identifier and as the type of the object.
         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
            return new Key<>(clazz, id);
        }
    
        /**
         * Key used to query the session data
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        //noinspection unchecked
                        return () -> (Q) list(list);
                    }
                    if (key.getRawType() == Map.class) {
                        Key<?> k = key.getTypeParameter(0);
                        Key<Object> v = key.getTypeParameter(1);
                        if (k.getRawType() == String.class) {
                            Set<Binding<Object>> res2 = getBindings(v);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

                this.realm = realm;
                this.extensionArtifactFilter = extensionArtifactFilter;
            }
        }
    
        Key createKey(List<? extends ClassRealm> extensionRealms);
    
        CacheRecord get(Key key);
    
        CacheRecord put(Key key, ClassRealm projectRealm, DependencyFilter extensionArtifactFilter);
    
        void flush();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

                Collection<String> artifacts,
                Collection<String> packages,
                String key,
                XmlNode configuration) {
            this.realm = realm;
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(artifacts));
            this.packages = Collections.unmodifiableSet(new HashSet<>(packages));
            this.key = key;
            this.configuration = configuration;
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 07:14:56 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifact.java

        }
    
        @Override
        public boolean equals(Object o) {
            return o instanceof Artifact && Objects.equals(key(), ((Artifact) o).key());
        }
    
        @Override
        public int hashCode() {
            return key.hashCode();
        }
    
        @Override
        public String toString() {
            return artifact.toString();
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Wed Dec 20 13:03:35 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

            }
        }
    
        protected final Map<Key, CacheRecord> cache = new ConcurrentHashMap<>();
    
        @Override
        public Key createKey(List<? extends ClassRealm> extensionRealms) {
            return new CacheKey(extensionRealms);
        }
    
        public CacheRecord get(Key key) {
            return cache.get(key);
        }
    
        public CacheRecord put(Key key, ClassRealm projectRealm, DependencyFilter extensionArtifactFilter) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

        }
    
        public CacheRecord get(Key key) {
            return cache.get(key);
        }
    
        @Override
        public CacheRecord get(Key key, PluginRealmSupplier supplier)
                throws PluginResolutionException, PluginContainerException {
            try {
                return cache.computeIfAbsent(key, k -> {
                    try {
                        return supplier.load();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

        private final int rank;
    
        private final String key;
    
        private static Map<String, ArtifactStatus> map;
    
        private ArtifactStatus(String key, int rank) {
            this.rank = rank;
            this.key = key;
    
            if (map == null) {
                map = new HashMap<>();
            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

                for (Plugin plugin : plugins) {
                    Object key = plugin.getKey();
                    Plugin first = normalized.get(key);
                    if (first != null) {
                        plugin = merger.mergePlugin(plugin, first);
                    }
                    normalized.put(key, plugin);
                }
    
                if (plugins.size() != normalized.size()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            return groupId + ":" + artifactId;
        }
    
        public static String key(Artifact artifact) {
            return key(artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion());
        }
    
        public static String key(String groupId, String artifactId, String version) {
            notBlank(groupId, "groupId can neither be null, empty nor blank");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
Back to top