- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,161 for IsEmpty (0.17 seconds)
-
guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
action.accept(elementSet.asList().get(i), getCount(i)); } } @Override public @Nullable Entry<E> firstEntry() { return isEmpty() ? null : getEntry(0); } @Override public @Nullable Entry<E> lastEntry() { return isEmpty() ? null : getEntry(length - 1); } @Override public int count(@Nullable Object element) { int index = elementSet.indexOf(element);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
final int leftCount = leftPart.isEmpty() ? 0 : leftPart.split(":").length; final int rightCount = rightPart.isEmpty() ? 0 : rightPart.split(":").length; final int zerosCount = 8 - leftCount - rightCount; final StringBuilder expanded = new StringBuilder(leftPart); for (int i = 0; i < zerosCount; i++) { if (expanded.length() > 0) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
* matched the requested range */ @Nonnull default Optional<Version> getLowestVersion() { return getVersions().isEmpty() ? Optional.empty() : Optional.of(getVersions().get(0)); } /** * Gets the highest version matching the requested range. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 3.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
.toList() .map { it.toByteString().hex() } if (platform.isConscrypt()) { if (tlsVersion == TlsVersion.TLS_1_3) { assertThat(sessionIds[0]).isEmpty() assertThat(sessionIds[1]).isEmpty() // https://github.com/google/conscrypt/issues/985 // assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[0], sessionIds[1]) } else {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 5.9K bytes - Click Count (1) -
internal/bucket/lifecycle/filter.go
default: return errUnknownXMLTag } } } return nil } // IsEmpty returns true if Filter is not specified in the XML func (f Filter) IsEmpty() bool { return !f.set } // Validate - validates the filter element func (f Filter) Validate() error { if f.IsEmpty() { return errXMLNotWellFormed } // A Filter must have exactly one of Prefix, Tag,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 04 17:01:26 GMT 2024 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RangeSet.java
/** Returns {@code true} if this range set contains no ranges. */ boolean isEmpty(); /** * Returns the minimal range which {@linkplain Range#encloses(Range) encloses} all ranges in this * range set. * * @throws NoSuchElementException if this range set is {@linkplain #isEmpty() empty} */ Range<C> span(); // Views /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 9.8K bytes - Click Count (0) -
guava/src/com/google/common/base/MoreObjects.java
} private static boolean isEmpty(Object value) { // Put types estimated to be the most frequent first. if (value instanceof CharSequence) { return ((CharSequence) value).length() == 0; } else if (value instanceof Collection) { return ((Collection<?>) value).isEmpty(); } else if (value instanceof Map) { return ((Map<?, ?>) value).isEmpty();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index)); } @Override public @Nullable Entry<E> firstEntry() { return isEmpty() ? null : getEntry(0); } @Override public @Nullable Entry<E> lastEntry() { return isEmpty() ? null : getEntry(length - 1); } @Override public int count(@Nullable Object element) { int index = elementSet.indexOf(element);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} public void testIsEmpty() { assertThat(ImmutableLongArray.of().isEmpty()).isTrue(); assertThat(ImmutableLongArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableLongArray.of(0, 1, 3).isEmpty()).isFalse(); assertThat(ImmutableLongArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue(); assertThat(ImmutableLongArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse(); } public void testGet_good() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty(); } public void testGetClassPathFromManifest_noClassPath() throws IOException { File jarFile = new File("base.jar"); assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty(); } public void testGetClassPathFromManifest_emptyClassPath() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0)