- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 513 for getKeys (0.07 seconds)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
} @Override @ParametricNullness public E next() { Map.Entry<E, Count> mapEntry = backingEntries.next(); toRemove = mapEntry; return mapEntry.getKey(); } @Override public void remove() { checkState(toRemove != null, "no calls to next() since the last call to remove()"); size -= toRemove.getValue().getAndSet(0);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@Test public void testEntrySet() throws Exception { Iterator<Map.Entry<String, String>> i = map.entrySet().iterator(); assertThat(i.next().getKey(), is(nullValue())); assertThat(i.next().getKey(), is("1")); assertThat(i.next().getKey(), is("2")); } /** * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()} * . */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryTest.java
void fakeImplementation_happyPath() { // Arrange FileEntry e = new TestFileEntry("doc.pdf", 2, 0x10, 10L, 20L, 30L, 4096L, 3); // Act & Assert: getters return exactly what was provided assertAll(() -> assertEquals("doc.pdf", e.getName()), () -> assertEquals(2, e.getType()), () -> assertEquals(0x10, e.getAttributes()), () -> assertEquals(10L, e.createTime()),
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K 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 Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java
super(delegate); ImmutableMap.Builder<V, K> builder = ImmutableMap.builder(); for (Entry<K, V> entry : delegate.entrySet()) { builder.put(entry.getValue(), entry.getKey()); } ImmutableMap<V, K> backwardMap = builder.build(); this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jan 27 22:02:32 GMT 2026 - 1.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
reverse(samples.e3()), reverse(samples.e4())); } private Entry<V, K> reverse(Entry<K, V> entry) { checkNotNull(entry); return mapEntry(entry.getValue(), entry.getKey()); } @SuppressWarnings("unchecked") @Override public BiMap<V, K> create(Object... elements) { Entry<?, ?>[] entries = new Entry<?, ?>[elements.length];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.8K bytes - Click Count (2) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 07 11:47:42 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testSetValue() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); break; } } expectReplacement(entry(k0(), v3())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 7.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testSetValue() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); break; } } expectReplacement(entry(k0(), v3())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 7.5K bytes - Click Count (0)