- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 700 for IsEmpty (3.52 sec)
-
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* SortedMultiset#contains}, {@link SortedMultiset#containsAll}, {@link SortedMultiset#count}, * {@link SortedMultiset#firstEntry} {@link SortedMultiset#headMultiset}, {@link * SortedMultiset#isEmpty}, {@link SortedMultiset#lastEntry}, {@link SortedMultiset#subMultiset}, * {@link SortedMultiset#tailMultiset}, the {@code size()} and {@code iterator()} methods of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Platform.java
} static String formatCompact4Digits(double value) { return String.format(Locale.ROOT, "%.4g", value); } static boolean stringIsNullOrEmpty(@Nullable String string) { return string == null || string.isEmpty(); } /** * Returns the string if it is not null, or an empty string otherwise. * * @param string the string to test and possibly return * @return {@code string} if it is not null; {@code ""} otherwise
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") }, canRunTogether: (T, T) -> Boolean = { _, _ -> true }, ): List<R> { if (list.isEmpty()) { return noElementSplitFunction(expectedBucketNumber) } if (expectedBucketNumber == 1) { return listOf(smallElementAggregateFunction(list)) }
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
if (!parameters.isEmpty()) { builder.append("; "); Multimap<String, String> quotedParameters = Multimaps.transformValues( parameters, (String value) -> (TOKEN_MATCHER.matchesAllOf(value) && !value.isEmpty()) ? value : escapeAndQuote(value));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
void testConstructor() { assertNotNull(response); assertNotNull(response.getNotifyInformation()); assertTrue(response.getNotifyInformation().isEmpty()); } @Test @DisplayName("Test writeSetupWireFormat returns 0") void testWriteSetupWireFormat() { byte[] buffer = new byte[100]; int result = response.writeSetupWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) /** Returns the date for this string, or null if the value couldn't be parsed. */ fun String.toHttpDateOrNull(): Date? { if (isEmpty()) return null val position = ParsePosition(0) var result = STANDARD_DATE_FORMAT.get().parse(this, position) if (position.index == length) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
addImpliedFeatures(sizesToTest); sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL)); logger.fine(" Sizes: " + formatFeatureSet(sizesToTest)); if (sizesToTest.isEmpty()) { throw new IllegalStateException( name + ": no CollectionSizes specified (check the argument to " + "FeatureSpecificTestSuiteBuilder.withFeatures().)"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
return createTreap(Ints.asList(keys)); } // See http://en.wikipedia.org/wiki/Treap for details on the algorithm. private Optional<BinaryNode> createTreap(List<Integer> keys) { if (keys.isEmpty()) { return Optional.absent(); } int minIndex = 0; for (int i = 1; i < keys.size(); i++) { if (keys.get(i) < keys.get(minIndex)) { minIndex = i; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
// Arrange: filter that accepts non-empty names ending with .txt SmbFileFilter filter = f -> { String n = f.getName(); return n != null && !n.isEmpty() && n.endsWith(".txt"); }; when(smbFile.getName()).thenReturn(name); // Act boolean result = filter.accept(smbFile); // Assert assertEquals(expected, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
} } else { elements[dstIndex] = null; entries[dstIndex] = 0; } } int firstEntryIndex() { return isEmpty() ? -1 : 0; } int getSuccessor(int entryIndex) { return (entryIndex + 1 < size) ? entryIndex + 1 : -1; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0)