Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for defaultValue (0.17 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ObjectUtil.java

        }
    
        /**
         * オブジェクトを返します。オブジェクトが<code>null</code>だったら<code>defaultValue</code>を返します。
         * <p>
         * 次のように使います.
         * </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>
         *
         * @param <T>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

        }
    
        public void setEditable(boolean editable) {
            this.editable = editable;
        }
    
        public void setDefaultValue(String defaultValue) {
            this.defaultValue = defaultValue;
        }
    
        public String getDefaultValue() {
            return defaultValue;
        }
    
        public String toString() {
            return "Mojo parameter [name: '" + getName() + "'; alias: '" + getAlias() + "']";
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:24:08 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

         * {@link org.codelibs.core.lang.ObjectUtil#defaultValue(Object, Object)} .
         */
        @Test
        public void testDefaultValue() {
            final Hoge hoge = new Hoge();
            assertSame(ObjectUtil.defaultValue(null, hoge), hoge);
            assertSame(ObjectUtil.defaultValue(hoge, null), hoge);
            assertSame(ObjectUtil.defaultValue(hoge, hoge), hoge);
            assertSame(ObjectUtil.defaultValue(null, null), null);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

                    if (host.getValue2().equalsIgnoreCase(headerValue)) {
                        return func.apply(host.getValue3());
                    }
                }
                return defaultValue;
            }).orElse(defaultValue);
        }
    
        public String[] getVirtualHostPaths() {
            return stream(ComponentUtil.getFessConfig().getVirtualHosts())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

            if (StringUtil.isBlank(filetype)) {
                return defaultValue;
            }
            return filetype;
        }
    
        public String getDefaultValue() {
            return defaultValue;
        }
    
        public void setDefaultValue(final String defaultValue) {
            this.defaultValue = defaultValue;
        }
    
        public String[] getTypes() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top