Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 3,211 for List (0.09 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

                }
            }
            return Optional.empty();
        }
    
        protected Optional<List<String>> collectListIfPresentOrEmpty(Function<O, Optional<List<String>>> getter) {
            int had = 0;
            ArrayList<String> items = new ArrayList<>();
            for (O option : options) {
                Optional<List<String>> o = getter.apply(option);
                if (o.isPresent()) {
                    had++;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Ordering.java

          // k is really large; just do a straightforward sorted-copy-and-sublist
          ArrayList<E> list = Lists.newArrayList(iterator);
          sort(list, this);
          if (list.size() > k) {
            list.subList(k, list.size()).clear();
          }
          list.trimToSize();
          return unmodifiableList(list);
        } else {
          TopKSelector<E> selector = TopKSelector.least(k, this);
          selector.offerAll(iterator);
    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. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

        fun readTestClasses(content: String): Map<String, List<String>> {
            val properties = Properties()
            val ret = mutableMapOf<String, MutableList<String>>()
            properties.load(StringReader(content))
            properties.forEach { key, value ->
                val list = ret.getOrDefault(value, mutableListOf())
                list.add(key!!.toString())
                ret[value!!.toString()] = list
            }
            return ret
        }
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

                                result.getSearchFieldLogList().add(new Pair<>(e.getKey(), v));
                            }
                        } else if (e.getValue() instanceof List) {
                            final List<String> values = (List<String>) e.getValue();
                            for (final String v : values) {
                                result.getSearchFieldLogList().add(new Pair<>(e.getKey(), v));
                            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @Override
        protected List<String> create(String[] elements) {
          ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
          for (int i = 0; i < elements.length; i++) {
            builder.put(elements[i], i);
          }
          return builder.build().keySet().asList();
        }
    
        @Override
        public List<String> order(List<String> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. tests/main.py

        return ",".join(map(str, sorted(query)))
    
    
    @app.get("/query/list")
    def get_query_list(device_ids: List[int] = Query()) -> List[int]:
        return device_ids
    
    
    @app.get("/query/list-default")
    def get_query_list_default(device_ids: List[int] = Query(default=[])) -> List[int]:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        ListMultimap<String, Integer> multimap = create();
        multimap.putAll("foo", asList(1, 2, 3, 4, 5));
        List<Integer> list = multimap.get("foo");
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder();
        List<Integer> sublist = list.subList(0, 5);
        assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder();
    
        sublist.clear();
        assertTrue(sublist.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. fastapi/openapi/models.py

        jsonSchemaDialect: Optional[str] = None
        servers: Optional[List[Server]] = None
        # Using Any for Specification Extensions
        paths: Optional[Dict[str, Union[PathItem, Any]]] = None
        webhooks: Optional[Dict[str, Union[PathItem, Reference]]] = None
        components: Optional[Components] = None
        security: Optional[List[Dict[str, List[str]]]] = None
        tags: Optional[List[Tag]] = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      // are guaranteed to be non-null.
      static <E> ImmutableList<E> unsafeDelegateList(List<? extends E> list) {
        switch (list.size()) {
          case 0:
            return of();
          case 1:
            return of(list.get(0));
          default:
            @SuppressWarnings("unchecked")
            List<E> castedList = (List<E>) list;
            return new RegularImmutableList<E>(castedList);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionData.java

     */
    package org.apache.maven.execution;
    
    import java.util.List;
    
    /**
     * This class holds the information required to enable resuming a Maven build with {@code --resume}.
     */
    public class BuildResumptionData {
        /**
         * The list of projects that remain to be built.
         */
        private final List<String> remainingProjects;
    
        public BuildResumptionData(final List<String> remainingProjects) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top