- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SynchronizedMap (0.06 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
* Construct a version range from a specification. * */ public class VersionRange { private static final Map<String, VersionRange> CACHE_SPEC = Collections.synchronizedMap(new WeakHashMap<>()); private static final Map<String, VersionRange> CACHE_VERSION = Collections.synchronizedMap(new WeakHashMap<>()); private final ArtifactVersion recommendedVersion; private final List<Restriction> restrictions;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
} infoMap = null; } public synchronized void putToInfoMap(final String key, final String value) { if (infoMap == null) { infoMap = Collections.synchronizedMap(new LinkedHashMap<>()); } logger.debug("infoMap: {}={} => {}", key, value, infoMap); infoMap.put(key, value); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
@Deprecated(since = "4.0.0") @SuppressWarnings({"checkstyle:methodname"}) public class DefaultProfileInjector implements ProfileInjector { private static final Map<Model, Map<List<Profile>, Model>> CACHE = Collections.synchronizedMap(new WeakHashMap<>()); // In order for the weak hash map to work correctly, we must not hold any reference to // the model used as the key. So we use a dummy model as a placeholder to indicate that
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.3K bytes - Viewed (0)