Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 189 for emptyList (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                }
    
                @Override
                public List<Map<String, Object>> getDocumentList(final String index, final SearchCondition<SearchRequestBuilder> condition) {
                    return Collections.emptyList();
                }
            };
            ComponentUtil.register(client, "searchEngineClient");
            final DocList docList = new DocList();
            indexingHelper.sendDocuments(client, docList);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Ordering.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.sort;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Long> asList(long... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
        return new LongArrayAsList(backingArray);
      }
    
      @GwtCompatible
      private static class LongArrayAsList extends AbstractList<Long>
          implements RandomAccess, Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Longs.java

       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Long> asList(long... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
        return new LongArrayAsList(backingArray);
      }
    
      @GwtCompatible
      private static class LongArrayAsList extends AbstractList<Long>
          implements RandomAccess, Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
        assertThat(Doubles.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Double#valueOf}.
       */
      private static @Nullable Double referenceTryParse(String input) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        }
    
        protected <T> Collection<T> getProjectScopedExtensionComponents(Collection<MavenProject> projects, Class<T> role) {
            if (projects == null) {
                return Collections.emptyList();
            }
    
            Collection<T> foundComponents = new LinkedHashSet<>();
            Collection<ClassLoader> scannedRealms = new HashSet<>();
    
            Thread currentThread = Thread.currentThread();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/Response.kt

      fun challenges(): List<Challenge> {
        return headers.parseChallenges(
          when (code) {
            HTTP_UNAUTHORIZED -> "WWW-Authenticate"
            HTTP_PROXY_AUTH -> "Proxy-Authenticate"
            else -> return emptyList()
          },
        )
      }
    
      /**
       * Returns the cache control directives for this response. This is never null, even if this
       * response contains no `Cache-Control` header.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

        return CollectCollectors.toImmutableList();
      }
    
      /**
       * Returns the empty immutable list. This list behaves and performs comparably to {@link
       * Collections#emptyList}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  9. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/collections/EmptyIterator;-><init>()V
    HSPLkotlin/collections/EmptyIterator;->hasNext()Z
    HSPLkotlin/collections/EmptyList;-><clinit>()V
    HSPLkotlin/collections/EmptyList;-><init>()V
    HSPLkotlin/collections/EmptyList;->isEmpty()Z
    HSPLkotlin/collections/EmptyList;->iterator()Ljava/util/Iterator;
    HSPLkotlin/collections/EmptyMap;-><clinit>()V
    HSPLkotlin/collections/EmptyMap;-><init>()V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cookie.kt

            if (cookies == null) cookies = mutableListOf()
            cookies.add(cookie)
          }
    
          return if (cookies != null) {
            Collections.unmodifiableList(cookies)
          } else {
            emptyList()
          }
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top