- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 151 for EmptyList (0.12 sec)
-
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")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 15:04:05 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractListMultimap.java
super(map); } @Override abstract List<V> createCollection(); @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types @Override List<V> createUnmodifiableEmptyCollection() { return emptyList(); } @Override <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass( Collection<E> collection) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.6K bytes - Viewed (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
cookieHandler.get(url.toUri(), emptyMap<String, List<String>>()) } catch (e: IOException) { Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e) return emptyList() } var cookies: MutableList<Cookie>? = null for ((key, value) in cookieHeaders) { if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
} public void test_register_emptyEntityList() { RenderData data = new RenderData(); List<BsUser> emptyList = new ArrayList<>(); RenderDataUtil.register(data, "empty", emptyList); Object result = data.getDataMap().get("empty"); assertEquals(emptyList, result); // Empty collections are registered as-is } public void test_register_nonEntityList() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
* than one, not just two. */ @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types private static final class ToOptionalState { static final int MAX_EXTRAS = 4; @Nullable Object element; List<Object> extras; ToOptionalState() { element = null; extras = emptyList(); } IllegalArgumentException multiples(boolean overflow) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls. return (unfiltered instanceof SetMultimap) ? emptySet() : emptyList(); } @Override public void clear() { entries().clear(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
ArrayList<Integer> list = Lists.newArrayList(); assertEquals(emptyList(), list); } public void testNewArrayListWithCapacity() { ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); assertEquals(emptyList(), list); ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256); assertEquals(emptyList(), bigger); } public void testNewArrayListWithCapacity_negative() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
return java.util.Collections.emptyList(); } @Override public java.util.List<jakarta.mail.Address> getSavedBccList() { return java.util.Collections.emptyList(); } @Override public java.util.List<jakarta.mail.Address> getSavedCcList() { return java.util.Collections.emptyList(); } @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 19.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
private boolean blacklisted; private Authentication authentication; private Proxy proxy; private List<ArtifactRepository> mirroredRepositories = Collections.emptyList(); private boolean blocked; /** * Create a local repository or a test repository. * * @param id the unique identifier of the repository * @param url the URL of the repositoryRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.7K bytes - Viewed (0)