- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 423 for getKey (0.09 sec)
-
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
entryArray[i] = makeImmutable(requireNonNull(entryArray[i])); K key = entryArray[i].getKey(); V value = entryArray[i].getValue(); V oldValue = delegateMap.put(key, value); if (oldValue != null) { if (throwIfDuplicateKeys) { throw conflictException("key", entryArray[i], entryArray[i].getKey() + "=" + oldValue); } if (duplicates == null) { duplicates = new HashMap<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertNull(cache.asMap().put(newKey, entry.getValue())); // this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(newValue, cache.getUnchecked(entry.getKey()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object; return Objects.equal(this.getKey(), that.getKey()) && Objects.equal(this.getValue(), that.getValue()); } return false; } /** * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link * #getValue()}. If you override either of these methods, you may wish to override {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 19 19:28:11 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java
binder.bind(XmlNode.class) .annotatedWith(Names.named(extension.getKey())) .toInstance(configuration); binder.bind(PlexusConfiguration.class) .annotatedWith(Names.named(extension.getKey())) .toInstance(XmlPlexusConfiguration.toPlexusConfiguration(configuration)); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
&& entry.getValue().getKey().isConnected(range) && entry.getValue().getValue().equals(value)) { return range.span(entry.getValue().getKey()); } return range; } @Override public void putAll(RangeMap<K, ? extends V> rangeMap) { for (Entry<Range<K>, ? extends V> entry : rangeMap.asMapOfRanges().entrySet()) { put(entry.getKey(), entry.getValue()); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) { return left.getKey().compareTo(right.getKey()); } }.sortedCopy(insertionOrder); } } public static class ImmutableMapValuesAsSingletonSetGenerator implements TestMapGenerator<String, Collection<Integer>> { @Override public SampleElements<Entry<String, Collection<Integer>>> samples() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue())); } this.rowMap = rowBuilder.buildOrThrow(); ImmutableMap.Builder<C, ImmutableMap<R, V>> columnBuilder = new ImmutableMap.Builder<>(columns.size()); for (Entry<C, Map<R, V>> col : columns.entrySet()) { columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
@Override public MavenMetadata setPath(Path path) { return new LocalSnapshotMetadata(metadata, path, timestamp); } public Object getKey() { return getGroupId() + ':' + getArtifactId() + ':' + getVersion(); } public static Object getKey(Artifact artifact) { return artifact.getGroupId() + ':' + artifact.getArtifactId() + ':' + artifact.getBaseVersion(); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.8K bytes - Viewed (0)