- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,161 for IsEmpty (0.14 seconds)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
directoryLeaseManager.handleDirectoryChange(directoryPath, "", DirectoryChangeNotifier.DirectoryChangeType.DIRECTORY_RENAMED); assertFalse(entry.isComplete()); assertTrue(entry.getChildren().isEmpty()); } @Test public void testHandleDirectoryLeaseBreak() { String directoryPath = "/test/dir"; Smb2LeaseKey leaseKey = new Smb2LeaseKey(); // Create cache entry
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/GeneralRange.java
return comparator; } boolean hasLowerBound() { return hasLowerBound; } boolean hasUpperBound() { return hasUpperBound; } boolean isEmpty() { // The casts are safe because of the has*Bound() checks. return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
String description = strategy.getDescription(); assertNotNull(description, "Description should not be null"); assertFalse(description.trim().isEmpty(), "Description should not be empty"); assertTrue( description.toLowerCase().contains("compatibility") || description.toLowerCase().contains("fix"),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
if (entityList.isEmpty()) { return new int[] {}; } return delegateBatchRequest(entityList, esEntity -> { return createInsertRequest(esEntity); }); } protected int[] delegateBatchUpdate(List<? extends Entity> entityList, UpdateOption<? extends ConditionBean> option) { if (entityList.isEmpty()) { return new int[] {};
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
String[] args = lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#")) .toArray(String[]::new); mavenConfig = cliManager.parse(args); List<?> unrecognized = mavenConfig.getArgList(); if (!unrecognized.isEmpty()) { // This file can only contain options, not args (goals or phases)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
List<ArtifactRepository> requestRepositories, List<ArtifactRepository> pomRepositories) { List<ArtifactRepository> repositories = requestRepositories; if (pomRepositories != null && !pomRepositories.isEmpty()) { Map<String, ArtifactRepository> repos = new LinkedHashMap<>(); for (ArtifactRepository repo : requestRepositories) { if (!repos.containsKey(repo.getId())) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 12:03:50 GMT 2025 - 30.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
nextIndex++; current = null; } } // Query Operations @Override public int size() { return size; } @Override public boolean isEmpty() { return head == null; } @Override public boolean containsKey(@Nullable Object key) { return keyToKeyList.containsKey(key); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testIsEmpty() { Iterable<String> emptyList = emptyList(); assertTrue(Iterables.isEmpty(emptyList)); Iterable<String> singletonList = singletonList("foo"); assertFalse(Iterables.isEmpty(singletonList)); } public void testSkip_simple() { Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
for (int base : bases) { assertThat(Long.toString(a, base)).isEqualTo(UnsignedInts.toString((int) a, base)); } } } public void testJoin() { assertThat(join()).isEmpty(); assertThat(join(1)).isEqualTo("1"); assertThat(join(1, 2)).isEqualTo("1,2"); assertThat(join(-1, Integer.MIN_VALUE)).isEqualTo("4294967295,2147483648");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
multimapView.clear(); assertFalse(multimapView.containsKey("foo")); assertFalse(map.containsKey("foo")); assertTrue(map.isEmpty()); assertTrue(multimapView.isEmpty()); multimap.clear(); assertThat(multimapView.toString()).isEqualTo(multimap.toString()); assertEquals(multimap.hashCode(), multimapView.hashCode());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0)