- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 976 for clear (0.17 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
public void testClear() { collection.clear(); assertTrue("After clear(), a collection should be empty.", collection.isEmpty()); assertEquals(0, collection.size()); assertFalse(collection.iterator().hasNext()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testClear_unsupported() { try { collection.clear(); fail(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.3K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
@Override protected boolean isUseOneTimeContainer() { return true; } public void test_maxUsernameLength() throws IOException { FessProp.propMap.clear(); FessConfig fessConfig = new FessConfig.SimpleImpl() { @Override public Integer getLdapMaxUsernameLengthAsInteger() { return Integer.valueOf(-1); } };
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java
list.clear(); authenticator.addGroupOrRoleName(list, "test", true); assertEquals(1, list.size()); assertEquals("test", list.get(0)); list.clear(); authenticator.addGroupOrRoleName(list, "test", false); assertEquals(1, list.size()); assertEquals("test", list.get(0)); list.clear();
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java
} else { this.inactiveProfileIds.clear(); } } public void setProfiles(List<Profile> profiles) { if (profiles != null) { this.profiles = new ArrayList<>(profiles); } else { this.profiles.clear(); } } public void addProfile(Profile profile) { profiles.add(profile);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 8.9K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
// Clear if err := DB.Model(&user2).Association("Company").Clear(); err != nil { t.Errorf("Error happened when clear Company, got %v", err) } if err := DB.Model(&user2).Association("Manager").Clear(); err != nil { t.Errorf("Error happened when clear Manager, got %v", err) } AssertAssociationCount(t, user2, "Company", 0, "after clear")
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractTable.java
return (row == null) ? null : Maps.safeGet(row, columnKey); } @Override public boolean isEmpty() { return size() == 0; } @Override public void clear() { Iterators.clear(cellSet().iterator()); } @CanIgnoreReturnValue @Override @CheckForNull public V remove(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jul 15 15:41:16 GMT 2021 - 6.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_request.md
assignees: '' --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context**
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue May 07 20:49:54 GMT 2019 - 610 bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractTable.java
return (row == null) ? null : Maps.safeGet(row, columnKey); } @Override public boolean isEmpty() { return size() == 0; } @Override public void clear() { Iterators.clear(cellSet().iterator()); } @CanIgnoreReturnValue @Override @CheckForNull public V remove(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jul 15 15:41:16 GMT 2021 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
} } public void testKeySet_clear() { for (LoadingCache<Object, Object> cache : caches()) { warmUp(cache, 0, 100); Set<Object> keys = cache.asMap().keySet(); keys.clear(); checkEmpty(keys); checkEmpty(cache); } } public void testKeySet_empty_remove() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0)