- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 518 for setKey (0.04 sec)
-
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); assertThat(cache.asMap().containsKey(entry.getKey())).isTrue(); assertThat(cache.asMap().containsValue(entry.getValue())).isTrue(); // this getUnchecked() call shouldn't be a cache miss; verified below assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue()); } assertThat(cache.stats().missCount()).isEqualTo(WARMUP_SIZE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); assertThat(cache.asMap().containsKey(entry.getKey())).isTrue(); assertThat(cache.asMap().containsValue(entry.getValue())).isTrue(); // this getUnchecked() call shouldn't be a cache miss; verified below assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue()); } assertThat(cache.stats().missCount()).isEqualTo(WARMUP_SIZE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClass.java
* An ignored field. */ String ignoreMe1; /** * Another ignored field. */ final long ignoreMe2 = 9; /** * Not a setter. */ public void setIgnoreMe1() { } /** * Not a setter. */ public void setIgnoreMe2(String a, int b) { } /** * A write-only property. */ public void setWriteOnly(JavaInterface value) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
RangeMapEntry(Range<K> range, V value) { super(range, value); } boolean contains(K value) { return getKey().contains(value); } Cut<K> getLowerBound() { return getKey().lowerBound; } Cut<K> getUpperBound() { return getKey().upperBound; } } @Override public @Nullable V get(K key) { Entry<Range<K>, V> entry = getEntry(key);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 26.5K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
String title = Character.toTitleCase(propertyName.charAt(0)) + propertyName.substring(1); // Try setter first MethodInfo setter = classMethodCache.get("set" + title); if (setter != null && isMethodCompatible(setter.method, valueType)) { return setter; } // Try adder MethodInfo adder = classMethodCache.get("add" + title);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K 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(); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsCollectionTest.java
BiMap<String, String> bimap = HashBiMap.create(entries.length); for (Entry<String, String> entry : entries) { checkArgument(!bimap.containsKey(entry.getKey())); bimap.put(entry.getKey(), entry.getValue()); } return Maps.unmodifiableBiMap(bimap); } }) .named("unmodifiableBiMap[HashBiMap]")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginConfigurationModule.java
@Override public void configure(Binder binder) { if (plugin.getKey() != null) { XmlNode configuration = plugin.getConfiguration(); if (configuration == null) { configuration = XmlNode.newInstance("configuration"); } binder.bind(XmlNode.class) .annotatedWith(Names.named(plugin.getKey())) .toInstance(configuration);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 1.9K bytes - Viewed (0)