Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for DefaultValue (0.27 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-settings/src/main/mdo/settings.mdo

              <type>String</type>
              <defaultValue>default</defaultValue>
              <description>The layout of the mirror repository.
                @since Maven 3.</description>
            </field>
            <field>
              <name>mirrorOfLayouts</name>
              <version>1.1.0+</version>
              <type>String</type>
              <defaultValue>default,legacy</defaultValue>
              <description>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <description></description>
              <type>boolean</type>
              <defaultValue>false</defaultValue>
            </field>
            <field>
              <name>inheritedByDefault</name>
              <version>1.0.0+</version>
              <description></description>
              <type>boolean</type>
              <defaultValue>true</defaultValue>
            </field>
            <field>
              <name>requiredJavaVersion</name>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

        tag: Long,
      ): BasicDerAdapter<T> = copy(tagClass = tagClass, tag = tag)
    
      /** Returns a copy of this adapter that doesn't encode values equal to [defaultValue]. */
      fun optional(defaultValue: T? = null): BasicDerAdapter<T> = copy(isOptional = true, defaultValue = defaultValue)
    
      /**
       * Returns a copy of this adapter that sets the encoded or decoded value as the type hint for the
       * other adapters on this SEQUENCE to interrogate.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

            </field>
            <field xml.attribute="true">
              <name>executionPoint</name>
              <required>false</required>
              <version>2.0.0+</version>
              <type>String</type>
              <defaultValue><![CDATA[]]></defaultValue>
              <description><![CDATA[If specified, identifies this phase as a dynamic phase to decorate the specified phase id, e.g. {@code after} or {@code before}.]]></description>
            </field>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. 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)
Back to top