Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,051 for optional (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * does not include the {@linkplain Modular#moduleName() module name} on which it applies.
         *
         * @return the name of the tool option for this path type
         */
        @Nonnull
        @Override
        public Optional<String> option() {
            return Optional.ofNullable(option);
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 15.7K bytes
    - Viewed (1)
  2. docs/uk/docs/python-types.md

    #### Possibly `None` (Optional)
    
    Ви можете оголосити, що значення може мати тип, наприклад `str`, але також може бути `None`.
    
    У Python 3.6 і вище (включаючи Python 3.10) ви можете оголосити його, імпортувавши та використовуючи `Optional` з модуля `typing`.
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

        }
    
        private static void trimValues(MavenProperties configProps) {
            configProps.replaceAll((k, v) -> v.trim());
        }
    
        private static String nextLocation(StringTokenizer st) {
            boolean optional = false;
            String retVal = null;
    
            if (st.countTokens() > 0) {
                String tokenList = "?\",";
                StringBuilder tokBuf = new StringBuilder(10);
                String tok;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProvider.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import java.util.TimeZone;
    
    import org.dbflute.optional.OptionalObject;
    import org.dbflute.optional.OptionalThing;
    import org.dbflute.util.DfTypeUtil;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.lastaflute.web.servlet.request.RequestManager;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

            if (!(member instanceof JApiClass)) {
                return null
            }
    
            if (!changed(member)) {
                return null
            }
    
            Optional<CtClass> oldClass = member.oldClass
            Optional<CtClass> newClass = member.newClass
            if (!oldClass.isPresent() || !newClass.isPresent()) {
                // breaking change would be reported
                return null
            }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. tests/test_union_inherited_body.py

    from typing import Optional, Union
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class ExtendedItem(Item):
        age: int
    
    
    @app.post("/items/")
    def save_union_different_body(item: Union[ExtendedItem, Item]):
        return {"item": item}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. ADDING_NEW_LANGUAGE.md

    - [ ] Run `mvn dbflute:freegen` to regenerate Java classes
    - [ ] Run `mvn clean package` to rebuild project
    - [ ] Test language selection in admin UI
    - [ ] (Optional) Configure OpenSearch analyzers in `fess.json`
    - [ ] (Optional) Add custom dictionaries for search analysis
    - [ ] Verify all UI pages display correctly in new language
    - [ ] Test error messages and form validation
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (1)
  8. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              return i.chop(str).or(you.chop(str));
            }
          };
        }
    
        abstract Optional<String> chop(String str);
    
        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            void shouldBeApplicableWhenAllOptionSpecified() {
                UpgradeOptions options = mock(UpgradeOptions.class);
                when(options.all()).thenReturn(Optional.of(true));
                when(options.plugins()).thenReturn(Optional.empty());
    
                UpgradeContext context = createMockContext(options);
    
                assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --all is specified");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        }
    
        public Stream<BuildStep> steps(MavenProject project) {
            return Optional.ofNullable(plan.get(project))
                    .map(m -> m.values().stream())
                    .orElse(Stream.empty());
        }
    
        public Optional<BuildStep> step(MavenProject project, String name) {
            return Optional.ofNullable(plan.get(project)).map(m -> m.get(name));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 12:11:25 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top