- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 996 for useEmpty (0.14 seconds)
-
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);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
*/ @Test public void testClass() throws Exception { final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Foo.class); assertThat(map, is(notNullValue())); assertThat(map.isEmpty(), is(false)); assertThat(map.get(Foo.class.getTypeParameters()[0]), is(sameClass(Object.class))); } /** * @throws Exception */ public void testGenericMethod() throws Exception {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Execute List<FileNotifyInformation> result = watchHandle.watch(); // Verify assertNotNull(result); assertTrue(result.isEmpty()); verify(watchHandle, times(1)).watch(); } /** * Test watch() method throwing CIFSException */ @Test void testWatchThrowsCIFSException() throws CIFSException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isSameAs import assertk.assertions.isTrue import kotlin.test.Test import kotlin.test.assertFailsWith
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:36:14 GMT 2025 - 10.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
// MavenProject instance. // ---------------------------------------------------------------------- if (expression == null || expression.isEmpty() || !Character.isJavaIdentifierStart(expression.charAt(0))) { return null; } boolean hasDots = expression.indexOf(PROPERTY_START) >= 0; final Tokenizer tokenizer;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
throw new IllegalArgumentException(e); } boolean empty; if (effectiveRange.isEmpty()) { empty = true; } else { /* * requireNonNull is safe because the effectiveRange operations above would have thrown or * effectiveRange.isEmpty() would have returned true. */ C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (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()));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
} private void adjustAccessorComment(DocCommentImpl docComment) { // Replace 'Returns the ...'/'Sets the ...' with 'The ...' List<Element> nodes = docComment.getDocbook(); if (nodes.isEmpty()) { return; } Element firstNode = nodes.get(0); if (!firstNode.getNodeName().equals("para") || !(firstNode.getFirstChild() instanceof Text)) { return; }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 29.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
} public void testAsMapEmpty() { Set<String> strings = ImmutableSet.of(); Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION); assertThat(map.entrySet()).isEmpty(); assertTrue(map.isEmpty()); assertThat(map.get("five")).isNull(); } private static class NonNavigableSortedSet extends ForwardingSortedSet<String> { private final SortedSet<String> delegate = Sets.newTreeSet();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java
* @return The password. */ protected String getPassword(final Map<String, String> params) { final String url = params != null ? params.get(ExtractData.URL) : null; if (!passwordMap.isEmpty()) { final String resourceName = params != null ? params.get(ExtractData.RESOURCE_NAME_KEY) : null; String value = null; if (StringUtil.isNotEmpty(url)) { value = url;Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Aug 07 02:55:08 GMT 2025 - 5.1K bytes - Click Count (0)