- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 375 for getSet (0.05 seconds)
-
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object; return Objects.equals(this.getKey(), that.getKey()) && Objects.equals(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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
private static class OptionComparator implements Comparator<Option> { @Override public int compare(Option opt1, Option opt2) { String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt(); String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt(); return s1.compareToIgnoreCase(s2); } } private static class CLIManagerExtension extends CLIManager {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapEntry.java
if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object; return Objects.equals(this.getKey(), that.getKey()) && Objects.equals(this.getValue(), that.getValue()); } return false; } @Override public int hashCode() { K k = getKey(); V v = getValue(); return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 1.9K bytes - Click Count (0) -
android/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);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java
if (!recessive.getPlugins().isEmpty()) { metadata.setPlugins(new ArrayList<>(recessive.getPlugins())); } } public Object getKey() { return getGroupId() + ':' + getArtifactId(); } public static Object getKey(Artifact artifact) { return artifact.getGroupId() + ':' + artifact.getArtifactId(); } @Deprecated @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
assertFalse( "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed)); assertFalse( "Inverse should not contain key " + reversed.getKey(), inv.containsKey(reversed.getKey())); assertFalse( "Inverse should not contain value " + reversed.getValue(), inv.containsValue(reversed.getValue())); /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
this.samples = new SampleElements<>( mapSamples.e0().getKey(), mapSamples.e1().getKey(), mapSamples.e2().getKey(), mapSamples.e3().getKey(), mapSamples.e4().getKey()); } @Override public SampleElements<K> samples() { return samples; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (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]")
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 32.4K bytes - Click Count (0) -
android/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]")
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 32.4K bytes - Click Count (0) -
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);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 15.7K bytes - Click Count (0)