- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 33 for unmodifiableMap (0.33 seconds)
-
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) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
final Map.Entry entry = (Map.Entry) entries.next(); entry.setValue(Collections.unmodifiableList((List) entry.getValue())); } return headerFields = Collections.unmodifiableMap(map); } @Override public Map getHeaderFields() { if (headerFields != null) { return headerFields; } try { handshake();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 22.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java
*/ TEST_RUNTIME("test-runtime", false), /** * System scope. */ SYSTEM("system", false); private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap( Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s))); /** * {@return the dependency scope for the given identifier, or {@code null} if none}.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 19 14:33:26 GMT 2025 - 4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java
properties.put( MavenArtifactProperties.CONSTITUTES_BUILD_PATH, String.valueOf(this.pathTypes.contains(JavaPathType.CLASSES))); this.properties = Collections.unmodifiableMap(properties); } @Override public String id() { return id; } @Override public Language getLanguage() { return language; } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 19 13:42:58 GMT 2026 - 4.3K bytes - Click Count (0)