Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 3,421 for list (0.06 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/LifecycleConfiguration.java

        /**
         * Method getLifecycles.
         *
         * @return List
         */
        public java.util.List<Lifecycle> getLifecycles() {
            if (this.lifecycles == null) {
                this.lifecycles = new java.util.ArrayList<Lifecycle>();
            }
    
            return this.lifecycles;
        } // -- java.util.List<Lifecycle> getLifecycles()
    
        /**
         * Get the modelEncoding field.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/body-nested-models.md

    但是 Python 有一种特定的方法来声明具有子类型的列表:
    
    ### 从 typing 导入 `List`
    
    首先,从 Python 的标准库 `typing` 模块中导入 `List`:
    
    ```Python hl_lines="1"
    {!> ../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ### 声明具有子类型的 List
    
    要声明具有子类型的类型,例如 `list`、`dict`、`tuple`:
    
    * 从 `typing` 模块导入它们
    * 使用方括号 `[` 和 `]` 将子类型作为「类型参数」传入
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    这完全是用于类型声明的标准 Python 语法。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

        protected int crawlerPriority = Thread.NORM_PRIORITY;
    
        protected final List<Crawler> crawlerList = Collections.synchronizedList(new ArrayList<>());
    
        public void crawl(final String sessionId, final List<String> webConfigIdList, final List<String> fileConfigIdList) {
            final boolean runAll = webConfigIdList == null && fileConfigIdList == null;
            final List<WebConfig> webConfigList;
            if (runAll || webConfigIdList != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            return parser;
        }
    
        protected String getBaseHref(final Document document) {
            try {
                final XPathNodes list = getXPathAPI().selectNodeList(document, "//BASE");
                if (list.size() > 0) {
                    final Node node = list.get(0);
                    final Node attrNode = node.getAttributes().getNamedItem("href");
                    if (attrNode != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Address.kt

          .build()
    
      /**
       * The protocols the client supports. This method always returns a non-null list that
       * contains minimally [Protocol.HTTP_1_1].
       */
      @get:JvmName("protocols")
      val protocols: List<Protocol> = protocols.toImmutableList()
    
      @get:JvmName("connectionSpecs")
      val connectionSpecs: List<ConnectionSpec> =
        connectionSpecs.toImmutableList()
    
      @JvmName("-deprecated_url")
      @Deprecated(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. tests/test_typing_python39.py

    from .utils import needs_py310
    
    
    @needs_py310
    def test_typing():
        types = {
            list[int]: [1, 2, 3],
            dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]},
            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
            app = FastAPI()
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 709 bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java

        @Nonnull
        RemoteRepository createRemote(@Nonnull Repository repository);
    
        @Nonnull
        List<RemoteRepository> aggregate(
                @Nonnull Session session,
                @Nonnull List<RemoteRepository> dominant,
                @Nonnull List<RemoteRepository> recessive,
                boolean processRecessive);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java

    @Deprecated(since = "4.0.0")
    class DefaultSettingsProblemCollector implements SettingsProblemCollector {
    
        private List<SettingsProblem> problems;
    
        private String source;
    
        DefaultSettingsProblemCollector(List<SettingsProblem> problems) {
            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        public List<SettingsProblem> getProblems() {
            return problems;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            FunctionScoreQueryBuilder functionScoreQuery =
                    QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()]));
            regQ(functionScoreQuery);
            return functionScoreQuery;
        }
    
        protected BoolQueryBuilder regBoolCQ(List<QueryBuilder> mustList, List<QueryBuilder> shouldList, List<QueryBuilder> mustNotList,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/BaseMavenParser.java

            return result;
        }
    
        protected O parseMavenCliOptions(List<String> args) throws ParserException {
            return parseArgs(Options.SOURCE_CLI, args);
        }
    
        protected O parseMavenConfigOptions(Path configFile) throws ParserException, IOException {
            try (Stream<String> lines = Files.lines(configFile, Charset.defaultCharset())) {
                List<String> args =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top