- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 130 for EmptyList (0.5 seconds)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
assertThrows(IllegalArgumentException.class, () -> Iterables.limit(list, -1)); } public void testIsEmpty() { Iterable<String> emptyList = emptyList(); assertTrue(Iterables.isEmpty(emptyList)); Iterable<String> singletonList = singletonList("foo"); assertFalse(Iterables.isEmpty(singletonList)); } public void testSkip_simple() {
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) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
assertNull(searchRenderData.getDocumentItems()); // Test with empty list List<Map<String, Object>> emptyList = new ArrayList<>(); searchRenderData.setDocumentItems(emptyList); assertEquals(emptyList, searchRenderData.getDocumentItems()); // Test with populated list List<Map<String, Object>> documentItems = new ArrayList<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 23.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
val specificBuilds: List<SpecificBuild> = emptyList(), val functionalTests: List<TestCoverage> = emptyList(), val docsTests: List<DocsTestCoverage> = emptyList(), val performanceTests: List<PerformanceTestCoverage> = emptyList(), val performanceTestPartialTriggers: List<PerformanceTestPartialTrigger> = emptyList(), val flameGraphs: List<FlameGraphGeneration> = emptyList(), val trigger: Trigger = Trigger.NEVER,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
} @SuppressWarnings("EmptyList") // We specifically want to test emptyList() public Test testsForEmptyList() { return ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override public List<String> create(String[] elements) { return emptyList(); } }) .named("emptyList")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 04 15:04:05 GMT 2025 - 12K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
} @SuppressWarnings("EmptyList") // We specifically want to test emptyList() public Test testsForEmptyList() { return ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override public List<String> create(String[] elements) { return emptyList(); } }) .named("emptyList")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 04 15:04:05 GMT 2025 - 12.4K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 11.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testSkip_pastEnd() { Collection<String> set = ImmutableSet.of("a", "b"); assertEquals(emptyList(), Lists.newArrayList(FluentIterable.from(set).skip(20))); } public void testSkip_pastEndList() { Collection<String> list = Lists.newArrayList("a", "b"); assertEquals(emptyList(), Lists.newArrayList(FluentIterable.from(list).skip(20))); } public void testSkip_skipNone() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java
import java.util.function.Consumer; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; import static java.util.Collections.emptyList; import static java.util.Collections.unmodifiableList; /** * A container for elasticsearch supported version information used in BWC testing. * <p>
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 16.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.nCopies; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
* IllegalArgumentException: * https://bugs.openjdk.org/browse/JDK-4506427 */ } } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types public void testSubList_empty() { assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0)); } public void testSubList_entireList() { assertEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13.5K bytes - Click Count (0)