Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 109 for DefaultValue (0.07 seconds)

  1. src/main/java/org/codelibs/fess/job/ExecJob.java

         * @param name the property name
         * @param defaultValue the default value to use if property doesn't exist
         * @param appendValue the value to append to the property value
         */
        protected void addSystemProperty(final List<String> cmdList, final String name, final String defaultValue, final String appendValue) {
            final String value = System.getProperty(name);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. callbacks/create_test.go

    			},
    		},
    		ReflectValue: reflect.ValueOf(dest),
    		Dest:         dest,
    	}
    
    	stmt.Schema = s
    
    	values := ConvertToCreateValues(stmt)
    	expected := clause.Values{
    		// column has value + defaultValue column has value (which should have a stable order)
    		Columns: []clause.Column{{Name: "name"}, {Name: "email"}, {Name: "age"}, {Name: "id"}},
    		Values: [][]interface{}{
    			{"alice", "email", 18, 1},
    			{"bob", "email", 19, 2},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/mdo/paramdoc.mdo

              <version>1.0.0</version>
              <name>editable</name>
              <description>Whether the value of this expression can be changed.</description>
              <type>boolean</type>
              <defaultValue>true</defaultValue>
            </field>
          </fields>
        </class>
      </classes>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Optional.java

      /**
       * Returns the contained instance if it is present; {@code defaultValue} otherwise. If no default
       * value should be required because the instance is known to be present, use {@link #get()}
       * instead. For a default value of {@code null}, use {@link #orNull}.
       *
       * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overly
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

            override val currentFile: File,
    
            override val currentSourceRoot: File
    
        ) : ApiSourceFile()
    }
    
    
    internal
    data class JavaSourceQuery<T : Any?>(
        val defaultValue: T,
        val visitor: GenericVisitor<T, Unit?>
    )
    
    
    internal
    class SourcesRepository(
    
        private
        val sourceRoots: List<File>,
    
        private
        val compilationClasspath: List<File>
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. 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);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

    import java.util.Optional;
    import java.util.function.Supplier;
    
    public class Util {
    
        public static boolean getBooleanProperty(String property, boolean defaultValue) {
            String propertyValue = System.getProperty(property);
            if (propertyValue == null) {
                return defaultValue;
            }
            if ("true".equals(propertyValue)) {
                return true;
            } else if ("false".equals(propertyValue)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * determined.
       */
      public static <T> @Nullable T get(Class<T> type) {
        T defaultValue = DEFAULTS.getInstance(type);
        if (defaultValue != null) {
          return defaultValue;
        }
        Class<? extends T> implementation = getImplementation(type);
        if (implementation != null) {
          return get(implementation);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          if (isNullable(param)) {
            args.add(null);
            continue;
          }
          Object defaultValue = getDummyValue(param.getType());
          if (defaultValue == null) {
            throw new ParameterNotInstantiableException(param);
          }
          args.add(defaultValue);
        }
        return args;
      }
    
      private <T> @Nullable T getDummyValue(TypeToken<T> type) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

            promptBuilder
                    .createConfirmPromp()
                    .name("confirm")
                    .message("Are values above correct?")
                    .defaultValue(ConfirmChoice.ConfirmationValue.YES)
                    .addPrompt();
            return promptBuilder;
        }
    
        protected PromptBuilder dispatcherPrompt(PromptBuilder promptBuilder) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top