- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 342 for entry (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
public void testToString() { assertThat(entry("foo", 1).toString()).isEqualTo("foo=1"); } public void testToStringNull() { assertThat(entry(NK, 1).toString()).isEqualTo("null=1"); assertThat(entry("foo", NV).toString()).isEqualTo("foo=null"); assertThat(entry(NK, NV).toString()).isEqualTo("null=null"); } public void testEquals() { Entry<String, Integer> foo1 = entry("foo", 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
return map().size(); } @Override public boolean contains(@Nullable Object object) { if (object instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) object; V value = map().get(entry.getKey()); return value != null && value.equals(entry.getValue()); } return false; } @Override boolean isPartialView() { return map().isPartialView(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
} /** * Replaces the value of the entry with a new value. * * @param entry * the entry * @param value * the new value for the entry * @return the previous value of the entry */ protected V swapValue(final Entry<K, V> entry, final V value) { final V old = entry.value; entry.value = value; return old; }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 20.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator(); Entry<String, Collection<Integer>> entry = iterator.next(); assertThat(entry.getKey()).isEqualTo("foo"); assertThat(entry.getValue()).containsExactly(1, 3, 7); entry = iterator.next(); assertThat(entry.getKey()).isEqualTo("google"); assertThat(entry.getValue()).containsExactly(2, 6);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
.pre-commit-config.yaml
- repo: local hooks: - id: local-ruff-check name: ruff check entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix require_serial: true language: unsupported types: [python] - id: local-ruff-format name: ruff format entry: uv run ruff format --force-exclude --exit-non-zero-on-format require_serial: trueCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:06:36 GMT 2026 - 2.6K bytes - Click Count (1) -
guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
} public void testToStringNull() { assertThat(entry(NE, 1).toString()).isEqualTo("null"); assertThat(entry(NE, 2).toString()).isEqualTo("null x 2"); } public void testEquals() { assertEquals(control("foo", 1), entry("foo", 1)); assertEquals(control("bar", 2), entry("bar", 2)); assertFalse(control("foo", 1).equals(entry("foo", 2))); assertFalse(entry("foo", 1).equals(control("bar", 1)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
for (Entry<AnEnum, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return ImmutableMap.copyOf(map); } @Override public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) { return new Ordering<Entry<AnEnum, String>>() { @Override public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
} /** Removes the entry at the specified index with no additional data. */ private void removeEntry(int entry) { removeEntryKeyHashKnown(entry, smearedHash(keys[entry])); } /** Removes the entry at the specified index, given the hash of its key and value. */ private void removeEntry(int entry, int keyHash, int valueHash) { checkArgument(entry != ABSENT); deleteFromTableKToV(entry, keyHash);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
return null; } int bucket = Hashing.smear(value.hashCode()) & mask; for (ImmutableMapEntry<K, V> entry = valueTable[bucket]; entry != null; entry = entry.getNextInValueBucket()) { if (value.equals(entry.getValue())) { return entry.getKey(); } } return null; } @Override ImmutableSet<V> createKeySet() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
for (Entry<AnEnum, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return ImmutableMap.copyOf(map); } @Override public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) { return new Ordering<Entry<AnEnum, String>>() { @Override public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 8.6K bytes - Click Count (0)