Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for DefaultValue (1.58 sec)

  1. src/main/java/org/codelibs/core/lang/ObjectUtil.java

        }
    
        /**
         * Returns the object, or the defaultValue if the object is <code>null</code>.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * ObjectUtil.defaultValue(null, "NULL")  = "NULL"
         * ObjectUtil.defaultValue(null, 1)    = 1
         * ObjectUtil.defaultValue(Boolean.TRUE, true) = Boolean.TRUE
         * ObjectUtil.defaultValue(null, null) = null
         * </pre>
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

         * Maven installation configuration directory.
         *
         * @since 4.0.0
         */
        @Config(defaultValue = "${maven.home}/conf")
        public static final String MAVEN_INSTALLATION_CONF = "maven.installation.conf";
    
        /**
         * Maven user configuration directory.
         *
         * @since 4.0.0
         */
        @Config(defaultValue = "${user.home}/.m2")
        public static final String MAVEN_USER_CONF = "maven.user.conf";
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 25 11:08:20 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Functions.java

          implements Function<K, V>, Serializable {
        final Map<K, ? extends V> map;
        @ParametricNullness final V defaultValue;
    
        ForMapWithDefault(Map<K, ? extends V> map, @ParametricNullness V defaultValue) {
          this.map = checkNotNull(map);
          this.defaultValue = defaultValue;
        }
    
        @Override
        @ParametricNullness
        public V apply(@ParametricNullness K key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

         *
         * @param defaultValue the new default file type value
         */
        public void setDefaultValue(final String defaultValue) {
            this.defaultValue = defaultValue;
        }
    
        /**
         * Gets all distinct file types currently configured in the mappings.
         *
         * @return an array of all unique file type values
         */
        public String[] getTypes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. schema/field.go

    	}
    
    	// default value is function or null or blank (primary keys)
    	field.DefaultValue = strings.TrimSpace(field.DefaultValue)
    	skipParseDefaultValue := strings.Contains(field.DefaultValue, "(") &&
    		strings.Contains(field.DefaultValue, ")") || strings.ToLower(field.DefaultValue) == "null" || field.DefaultValue == ""
    	switch reflect.Indirect(fieldValue).Kind() {
    	case reflect.Bool:
    		field.DataType = Bool
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       * Returns the first element in {@code iterable} that satisfies the given predicate, or {@code
       * defaultValue} if none found. Note that this can usually be handled more naturally using {@code
       * tryFind(iterable, predicate).or(defaultValue)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.filter(predicate).findFirst().orElse(defaultValue)}
       *
       * @since 7.0
       */
      // The signature we really want here is...
      //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

                return defaultValue != null ? defaultValue.toString() : StringUtil.EMPTY;
            } catch (final Exception e) {
                return StringUtil.EMPTY;
            }
        }
    
        private String getDefaultMaxKey() {
            try {
                final Method method = CustomSize.class.getMethod("maxKey");
                final Object defaultValue = method.getDefaultValue();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

              <version>4.0.0+</version>
              <defaultValue>mail</defaultValue>
              <type>String</type>
              <description>The mechanism used to deliver notifications.</description>
            </field>
            <field>
              <name>sendOnError</name>
              <version>4.0.0+</version>
              <defaultValue>true</defaultValue>
              <type>boolean</type>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/SystemUtil.java

         *
         * @param key the property key
         * @param defaultValue the default value
         * @return the property value, or the default value if not found
         */
        public static String getProperty(String key, String defaultValue) {
            return System.getProperty(key, defaultValue);
        }
    
        /**
         * Returns the system environment variable value for the specified key.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       * position}th position or {@code defaultValue} otherwise.
       *
       * @param position position of the element to return
       * @param defaultValue the default value to return if the iterator is empty or if {@code position}
       *     is greater than the number of elements remaining in {@code iterator}
       * @return the element at the specified position in {@code iterator} or {@code defaultValue} if
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
Back to top