- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 271 for getDay (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
extends AbstractMapTester<K, V> { @Override protected BiMap<K, V> getMap() { return (BiMap<K, V>) super.getMap(); } static <K extends @Nullable Object, V extends @Nullable Object> Entry<V, K> reverseEntry( Entry<K, V> entry) { return mapEntry(entry.getValue(), entry.getKey()); } @Override protected void expectContents(Collection<Entry<K, V>> expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
public void testReplaceAllPreservesOrder() { getMap() .replaceAll( (K k, V v) -> { int index = keys().asList().indexOf(k); return values().asList().get(index + 1); }); List<Entry<K, V>> orderedEntries = getOrderedElements(); int index = 0; for (K key : getMap().keySet()) { assertEquals(orderedEntries.get(index).getKey(), key); index++; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
extends AbstractMapTester<K, V> { @Override protected BiMap<K, V> getMap() { return (BiMap<K, V>) super.getMap(); } static <K extends @Nullable Object, V extends @Nullable Object> Entry<V, K> reverseEntry( Entry<K, V> entry) { return mapEntry(entry.getValue(), entry.getKey()); } @Override protected void expectContents(Collection<Entry<K, V>> expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
Set<Entry<K, V>> entrySet = getMap().entrySet(); Iterator<Entry<K, V>> entryItr = entrySet.iterator(); assertEquals(e0(), entryItr.next()); entryItr.remove(); assertTrue(getMap().isEmpty()); assertFalse(entrySet.contains(e0())); } public void testContainsEntryWithIncomparableKey() { try { assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0())));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
Set<Entry<K, V>> entrySet = getMap().entrySet(); Iterator<Entry<K, V>> entryItr = entrySet.iterator(); assertEquals(e0(), entryItr.next()); entryItr.remove(); assertTrue(getMap().isEmpty()); assertFalse(entrySet.contains(e0())); } public void testContainsEntryWithIncomparableKey() { try { assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0())));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
for (Entry<K, V> entry : getMap().entrySet()) { assertThrows(NullPointerException.class, () -> entry.setValue(null)); expectUnchanged(); } } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testSetValueNullSupported() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { entry.setValue(null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
for (Entry<K, V> entry : getMap().entrySet()) { assertThrows(NullPointerException.class, () -> entry.setValue(null)); expectUnchanged(); } } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testSetValueNullSupported() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { entry.setValue(null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
resetWithHole(); assertEquals(a, navigableMap.floorEntry(a.getKey())); assertEquals(a.getKey(), navigableMap.floorKey(a.getKey())); assertEquals(a, navigableMap.floorEntry(b.getKey())); assertEquals(a.getKey(), navigableMap.floorKey(b.getKey())); assertEquals(c, navigableMap.floorEntry(c.getKey())); assertEquals(c.getKey(), navigableMap.floorKey(c.getKey())); } @CollectionSize.Require(SEVERAL)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0)