- Sort Score
- Result 10 results
- Languages All
Results 31 - 33 of 33 for singletonMap (0.06 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
} private ArtifactResolutionResult collect(ArtifactSpec a, Artifact managedVersion) throws ArtifactResolutionException { Map<String, Artifact> managedVersions = Collections.singletonMap(managedVersion.getDependencyConflictId(), managedVersion); return artifactCollector.collect( Collections.singleton(a.artifact), projectArtifact.artifact,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 42.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY; } /** * Returns an immutable map containing a single entry. This map behaves and performs comparably to * {@link Collections#singletonMap} but will not accept a null key or value. It is preferable * mainly for consistency and maintainability of your code. */ public static <K, V> ImmutableMap<K, V> of(K k1, V v1) { checkEntryNotNull(k1, v1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY; } /** * Returns an immutable map containing a single entry. This map behaves and performs comparably to * {@link Collections#singletonMap} but will not accept a null key or value. It is preferable * mainly for consistency and maintainability of your code. */ public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0)