- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for unmodifiableMap (0.1 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java
this.artifacts = Collections.unmodifiableSet(new HashSet<>(exportedArtifacts)); this.packages = exportedPackages.stream() .collect(collectingAndThen(toMap(identity(), v -> realm), Collections::unmodifiableMap)); } /** * Returns artifacts exported by Maven core and core extensions. Artifacts are identified by their * groupId:artifactId string key. */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java
@SuppressWarnings("unchecked") public DefaultProfileActivationContext setSystemProperties(Properties systemProperties) { if (systemProperties != null) { this.systemProperties = Collections.unmodifiableMap((Map) systemProperties); } else { this.systemProperties = Collections.emptyMap(); } return this; } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
* limitations under the License. */ package com.google.common.collect; import static java.util.Collections.sort; import static java.util.Collections.unmodifiableMap; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.collect.CollectionBenchmarkSampleData.Element; import java.util.ArrayList;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
@Nonnull @Override public Map<String, String> getUserProperties() { return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getUserProperties())); } @Nonnull @Override public Map<String, String> getSystemProperties() { return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getSystemProperties())); } @Nonnull @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Primitives.java
add(primToWrap, wrapToPrim, short.class, Short.class); add(primToWrap, wrapToPrim, void.class, Void.class); PRIMITIVE_TO_WRAPPER_TYPE = Collections.unmodifiableMap(primToWrap); WRAPPER_TO_PRIMITIVE_TYPE = Collections.unmodifiableMap(wrapToPrim); } private static void add( Map<Class<?>, Class<?>> forward, Map<Class<?>, Class<?>> backward, Class<?> key, Class<?> value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
// by getMessageByCode errorCodeMessagesTmp.put(0, "NT_STATUS_SUCCESS"); errorCodeMessages = Collections.unmodifiableMap(errorCodeMessagesTmp); dosErrorCodeStatuses = Collections.unmodifiableMap(dosErrorCodeStatusesTmp); final Map<Integer, String> winErrorCodeMessagesTmp = new HashMap<>(); for (int i = 0; i < WINERR_CODES.length; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
public abstract class ForwardingImmutableMap<K, V> extends ImmutableMap<K, V> { final transient Map<K, V> delegate; ForwardingImmutableMap(Map<? extends K, ? extends V> delegate) { this.delegate = Collections.unmodifiableMap(delegate); } @SuppressWarnings("unchecked") ForwardingImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>... entries) { Map<K, V> delegate = Maps.newLinkedHashMap();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/AbstractLifecycleProvider.java
} } this.lifecycle = new Lifecycle( id, Collections.unmodifiableList(Arrays.asList(phases)), defaultBindings == null ? null : Collections.unmodifiableMap(defaultBindings)); } @Override public Lifecycle get() { return lifecycle; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java
/** * Ctor to be used in Java code/providers. */ public DefaultLifecycleMapping(final List<Lifecycle> lifecycles) { this.lifecycleMap = Collections.unmodifiableMap(lifecycles.stream().collect(toMap(Lifecycle::getId, identity()))); } /** * Plexus: Populates the lifecycle map from the injected list of lifecycle mappings (if not already done). */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java
} Lifecycle lifecycle = new Lifecycle(); lifecycle.setId("default"); lifecycle.setLifecyclePhases(Collections.unmodifiableMap(lifecyclePhaseBindings)); this.lifecycleMapping = new DefaultLifecycleMapping(Collections.singletonList(lifecycle)); } @Override public LifecycleMapping get() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 22 12:24:35 GMT 2024 - 3.2K bytes - Click Count (0)