Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 106 for defaultValues (0.12 seconds)

  1. android/guava/src/com/google/common/graph/Graphs.java

        public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(nodeV, nodeU, defaultValue); // transpose
        }
    
        @Override
        public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(transpose(endpoints), defaultValue);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            this.listener = listener;
        }
    
        /**
         * Calls the default "set" method on the bean; re-converts the configuration if necessary.
         */
        public void setDefault(Object bean, Object defaultValue, PlexusConfiguration configuration)
                throws ComponentConfigurationException {
    
            Class<?> beanType = bean.getClass();
    
            // Find the default "set" method
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Defaults.java

       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings({
        "unchecked",
        "BooleanLiteral" // `(T) false` would produce an error
      })
      public static <T> @Nullable T defaultValue(Class<T> type) {
        checkNotNull(type);
        if (type.isPrimitive()) {
          if (type == boolean.class) {
            return (T) Boolean.FALSE;
          } else if (type == char.class) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        throw new UnsupportedOperationException();
      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
        return pickInstance(Arrays.asList(instances), defaultValue);
      }
    
      private <T> T pickInstance(Collection<T> instances, T defaultValue) {
        if (instances.isEmpty()) {
          return defaultValue;
        }
        // generateInt() is 1-based.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

         * PluginParameterExpressionEvaluator</a>.
         * @return the default value
         */
        @Nonnull
        String defaultValue() default "";
    
        /**
         * is the parameter required?
         * @return <code>true</code> if the Mojo should fail when the parameter cannot be injected
         */
        boolean required() default false;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /**
         * Retrieves a localized message for the given key.
         *
         * @param key the message key
         * @param defaultValue the default value to return if message not found
         * @return localized message or default value
         */
        public static String getMessage(final String key, final String defaultValue) {
            final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

        /*
         * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who
         * pass a literal "null" should probably just use `get`, but I would expect other callers to
         * pass an expression that *might* be null. This could happen with:
         *
         * - a `getFooOrDefault(@Nullable Foo defaultValue)` method that returns
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exec/Crawler.java

         * @param key the key to look up
         * @param defaultValue the default value to return if key is not found or value is blank
         * @return the value from the map or the default value
         */
        private String getValueFromMap(final Map<String, String> dataMap, final String key, final String defaultValue) {
            final String value = dataMap.get(key);
            if (StringUtil.isBlank(value)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        default String getSystemProperty(final String key, final String defaultValue) {
            return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key, defaultValue));
        }
    
        default void setSystemProperty(final String key, final String value) {
            if (value != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  10. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java

        /**
         * Specifies the default value of the configuration property.
         *
         * @return the default value as a string, defaults to empty string
         */
        String defaultValue() default "";
    
        /**
         * Specifies whether the configuration property is read-only.
         *
         * @return true if the property is read-only, false otherwise
         */
        boolean readOnly() default false;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top