- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for WeakHashMap (0.08 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
@Named @Singleton public class StringSearchModelInterpolator extends AbstractStringBasedModelInterpolator { private static final Map<Class<?>, Field[]> FIELDS_BY_CLASS = new WeakHashMap<>(); private static final Map<Class<?>, Boolean> PRIMITIVE_BY_CLASS = new WeakHashMap<>(); public StringSearchModelInterpolator() {} public StringSearchModelInterpolator(PathTranslator pathTranslator) { super(pathTranslator); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
private static final Object[] OBJECT_ARGS = new Object[0]; /** * Use a WeakHashMap here, so the keys (Class objects) can be garbage collected. * This approach prevents permgen space overflows due to retention of discarded * classloaders. */ private static final Map<Class<?>, WeakReference<ClassMap>> CLASS_MAPS = new WeakHashMap<>(); static final int EOF = -1; static final char PROPERTY_START = '.';
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
import javax.inject.Named; import javax.inject.Singleton; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.WeakHashMap; import java.util.concurrent.ConcurrentHashMap; import org.apache.maven.api.model.Build; import org.apache.maven.api.model.BuildBase; import org.apache.maven.api.model.Model;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
import java.util.Map; import java.util.Objects; import java.util.WeakHashMap; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.DefaultArtifact; /** * Construct a version range from a specification. * */ public class VersionRange { private static final Map<String, VersionRange> CACHE_SPEC = Collections.synchronizedMap(new WeakHashMap<>());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0)