- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 336 for clear (0.12 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java
public void testClearClearsInverse() { BiMap<V, K> inv = getMap().inverse(); getMap().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); } @MapFeature.Require(SUPPORTS_REMOVE) public void testKeySetClearClearsInverse() { BiMap<V, K> inv = getMap().inverse(); getMap().keySet().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
table.put("cat", 1, 'b'); table.clear(); populate(table, data); return table; } @Override protected TreeBasedTable<String, Integer, Character> create(@Nullable Object... data) { TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); table.put("foo", 4, 'a'); table.put("cat", 1, 'b'); table.clear(); populate(table, data); return table; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 15K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
assertMultimapRemainsUnmodified(multimap, originalEntries); Collection<V> sampleValueAsCollection = Collections.singleton(sampleValue); // Test #clear() try { multimap.clear(); fail("clear succeeded on unmodifiable multimap"); } catch (UnsupportedOperationException expected) { } assertMultimapRemainsUnmodified(multimap, originalEntries);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 14.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Java8Compatibility.java
* https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void position(Buffer b, int position) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.retainAll(collection); } @Override public void clear() { assertTrue(Thread.holdsLock(mutex)); delegate.clear(); } @Override public Object[] toArray() { assertTrue(Thread.holdsLock(mutex)); return delegate.toArray(); } @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Java8Compatibility.java
* https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void mark(Buffer b) { b.mark(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 1.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
public void testClear() { multimap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearThroughEntries() { multimap().entries().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearThroughAsMap() { multimap().asMap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
public void testClear() { multimap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearThroughEntries() { multimap().entries().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearThroughAsMap() { multimap().asMap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.ceilingEntry(checkValid(key)); } @Override public @Nullable K ceilingKey(K key) { return delegate.ceilingKey(checkValid(key)); } @Override public void clear() { delegate.clear(); } @Override public Comparator<? super K> comparator() { Comparator<? super K> comparator = delegate.comparator(); if (comparator == null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.ceilingEntry(checkValid(key)); } @Override public @Nullable K ceilingKey(K key) { return delegate.ceilingKey(checkValid(key)); } @Override public void clear() { delegate.clear(); } @Override public Comparator<? super K> comparator() { Comparator<? super K> comparator = delegate.comparator(); if (comparator == null) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.5K bytes - Viewed (0)