- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 945 for useEmpty (0.05 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java
System.out.println("Project " + project1.getId() + " " + project1); Set set = project1.getArtifacts(); assertNotNull(set, "No artifacts"); assertFalse(set.isEmpty(), "No Artifacts"); Iterator iter = set.iterator(); assertTrue(set.size() == 4, "Set size should be 4, is " + set.size()); while (iter.hasNext()) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 3.1K bytes - Viewed (0) -
android/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");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java
String msg = "Cannot register null or empty query: name=" + name + " value=" + value; throw new InvalidQueryRegisteredException(msg); } } protected void checkEsInvalidQueryCollection(String name, Collection<?> values) { if (values == null || values.isEmpty()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java
String msg = "Cannot register null or empty query: name=" + name + " value=" + value; throw new InvalidQueryRegisteredException(msg); } } protected void checkEsInvalidQueryCollection(String name, Collection<?> values) { if (values == null || values.isEmpty()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 21.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
} return null; } public @Nullable E ceiling(E e) { ImmutableSortedSet<E> set = tailSet(e, true); return !set.isEmpty() ? set.first() : null; } public @Nullable E floor(E e) { ImmutableSortedSet<E> set = headSet(e, true); return !set.isEmpty() ? set.last() : null; } public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { checkNotNull(toElement);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
} @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testSingletonSetPollFirst() { assertEquals(a, navigableSet.pollFirst()); assertTrue(navigableSet.isEmpty()); } @CollectionSize.Require(ONE) public void testSingletonSetNearby() { assertNull(navigableSet.lower(e0())); assertEquals(a, navigableSet.floor(e0()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
protected boolean canDetectActivation(Profile profile) { return profile.getActivation() != null && profile.getActivation().getJdk() != null && !profile.getActivation().getJdk().isEmpty(); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java
assertEquals(pom0Basedir, project1.getParent().getBasedir()); Set set = project1.getArtifacts(); assertNotNull(set, "No artifacts"); assertFalse(set.isEmpty(), "No Artifacts"); for (Object aSet : set) { Artifact artifact = (Artifact) aSet; System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 2.9K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); String location = problem.getLocation(); if (!location.isEmpty()) { writer.print(" @ "); writer.print(location); } writer.println(); } return buffer.toString(); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 05 09:37:42 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
if (roleTypeList != null && !roleTypeList.isEmpty()) { buf.append(";r="); buf.append(roleTypeList.stream().sorted().collect(Collectors.joining(","))); } @SuppressWarnings("unchecked") final List<String> virtualHostList = (List<String>) dataMap.get(fessConfig.getIndexFieldVirtualHost()); if (virtualHostList != null && !virtualHostList.isEmpty()) { buf.append(";v=");
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 15.2K bytes - Viewed (0)