Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 749 for optionals (0.04 sec)

  1. guava/src/com/google/common/collect/RangeMap.java

      /** Puts all the associations from {@code rangeMap} into this range map (optional operation). */
      void putAll(RangeMap<K, ? extends V> rangeMap);
    
      /** Removes all associations from this range map (optional operation). */
      void clear();
    
      /**
       * Removes all associations from this range map in the specified range (optional operation).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.List;
    import java.util.Optional;
    
    import org.apache.maven.api.Repository;
    import org.apache.maven.api.Version;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     *
     * @since 4.0.0
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                        }
                    }
    
                    @Nonnull
                    @Override
                    public Optional<org.apache.maven.api.Toolchain> createDefaultToolchain()
                            throws ToolchainFactoryException {
                        return Optional.ofNullable(v3Factory.createDefaultToolchain())
                                .map(ToolchainManagerFactory.this::getToolchainV4);
                    }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         *
         * @see Function
         * @see Optional
         * @see HashMap#computeIfAbsent(Object, Function)
         */
        static UnaryOperator<String> memoize(UnaryOperator<String> callback) {
            Map<String, Optional<String>> cache = new HashMap<>();
            return s -> cache.computeIfAbsent(s, v -> Optional.ofNullable(callback.apply(v)))
                    .orElse(null);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/OptionalUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * Utility class for Optional operations.
     */
    public class OptionalUtil {
    
        /**
         * Default constructor.
         */
        private OptionalUtil() {
            // Default constructor
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Platform.java

         * class could be unloaded after the above call to `getEnumConstants` but before we call
         * `get()`, but that is vanishingly unlikely.
         */
        return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get()));
      }
    
      static String formatCompact4Digits(double value) {
        return String.format(Locale.ROOT, "%.4g", value);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import java.util.List;
    import java.util.Optional;
    import java.util.function.Predicate;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-nested-models.md

    You can define arbitrarily deeply nested models:
    
    {* ../../docs_src/body_nested_models/tutorial007_py310.py hl[7,12,18,21,25] *}
    
    /// info
    
    Notice how `Offer` has a list of `Item`s, which in turn have an optional list of `Image`s
    
    ///
    
    ## Bodies of pure lists { #bodies-of-pure-lists }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top