- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,599 for map (0.01 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java
return new RelocatedArtifact( artifact.setFile(file), groupId, artifactId, classifier, extension, version, message); } @Override public Artifact setProperties(Map<String, String> properties) { Map<String, String> current = getProperties(); if (current.equals(properties) || (properties == null && current.isEmpty())) { return this; } return new RelocatedArtifact(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 4.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
// groupId -> (artifactId -> (version -> project))) private Map<String, Map<String, Map<String, MavenProject>>> projects; private Map<String, Map<String, Map<String, MavenProject>>> allProjects; private Path projectLocalRepository; // projectId -> Deque<lifecycle> private final Map<String, Deque<String>> lifecycles = new ConcurrentHashMap<>(); @InjectCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java
Gist gist = gistJsonAdapter.fromJson(response.body().source()); for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) { System.out.println(entry.getKey()); System.out.println(entry.getValue().content); } } } static class Gist { Map<String, GistFile> files; } static class GistFile { String content; }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.8K bytes - Click Count (0) -
src/builtin/builtin.go
// (m[key]) from the map. If m is nil or there is no such element, delete // is a no-op. func delete(m map[Type]Type1, key Type) // The len built-in function returns the length of v, according to its type: // // - Array: the number of elements in v. // - Pointer to array: the number of elements in *v (even if v is nil). // - Slice, or map: the number of elements in v; if v is nil, len(v) is zero.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 30 23:59:23 GMT 2024 - 12.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
} public void testTransformSingletonMapEquality() { Map<String, String> map = transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); Map<String, String> expected = ImmutableMap.of("a", "1"); assertMapsEqual(expected, map); assertEquals(expected.get("a"), map.get("a")); } public void testTransformIdentityFunctionEquality() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
cast(key, value); return super.put(key, value); } @Override public void putAll(Map<? extends Class<? extends @NonNull B>, ? extends B> map) { Map<Class<? extends @NonNull B>, B> copy = new LinkedHashMap<>(map); for (Entry<? extends Class<? extends @NonNull B>, B> entry : copy.entrySet()) { cast(entry.getKey(), entry.getValue()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
} // Creates a replacement array from the given map. The returned array is a // linear lookup table of replacement character sequences indexed by the // original character value. @VisibleForTesting static char[][] createReplacementArray(Map<Character, String> map) { checkNotNull(map); // GWT specific check (do not optimize) if (map.isEmpty()) { return EMPTY_REPLACEMENT_ARRAY; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBasedTable.java
* Null row keys, columns keys, and values are not supported. * * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer, * since an iteration across all row keys occurs. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashBasedTable.java
* Null row keys, columns keys, and values are not supported. * * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer, * since an iteration across all row keys occurs. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
NavigableMap<String, Integer> map = new SafeTreeMap<>(); map.put("one", 1); map.put("two", 2); map.put("three", 3); return SerializableTester.reserialize(map); } @Override protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException { NavigableMap<String, Integer> map = new SafeTreeMap<>(); return SerializableTester.reserialize(map); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Mar 18 18:06:40 GMT 2022 - 1.7K bytes - Click Count (0)