Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for getDefaultValue (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

        if (rawType.equals(Predicate.class)) {
          return (Predicate<Object>) v -> (boolean) getDefaultValue(TypeToken.of(boolean.class));
        } else if (rawType.equals(IntFunction.class)) {
          try {
            Method method = IntFunction.class.getMethod("apply", int.class);
            return (IntFunction<Object>) v -> getDefaultValue(type.method(method).getReturnType());
          } catch (NoSuchMethodException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

            this.setEditable(p.isEditable());
            this.setDescription(p.getDescription());
            this.setExpression(p.getExpression());
            this.setDeprecated(p.getDeprecated());
            this.setDefaultValue(p.getDefaultValue());
            this.setType(p.getType());
            this.setSince(p.getSince());
        }
    
        // ----------------------------------------------------------------------
        //
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        @Nullable Object[] args = new Object[params.size()];
    
        for (int i = 0; i < args.length; i++) {
          Parameter param = params.get(i);
          if (i != indexOfParamToSetToNull) {
            args[i] = getDefaultValue(param.getType());
            Assert.assertTrue(
                "Can't find or create a sample instance for type '"
                    + param.getType()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

            return filetype;
        }
    
        /**
         * Gets the default file type value used when MIME type is not found.
         *
         * @return the default file type value
         */
        public String getDefaultValue() {
            return defaultValue;
        }
    
        /**
         * Sets the default file type value to use when MIME type is not found.
         *
         * @param defaultValue the new default file type value
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        @Test
        public void test_getDefaultValue() {
            assertEquals("others", fileTypeHelper.getDefaultValue());
        }
    
        @Test
        public void test_setDefaultValue() {
            fileTypeHelper.setDefaultValue("unknown");
            assertEquals("unknown", fileTypeHelper.getDefaultValue());
    
            // Test that get() returns new default value
            assertEquals("unknown", fileTypeHelper.get("non/existent"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                        listPromptBuilder
                                .newItem()
                                .name(
                                        option.getDefaultValue().isPresent()
                                                ? option.getDefaultValue().get()
                                                : option.getKey())
                                .text(option.getDescription())
                                .add();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals("deprecated-parameter", mp.getDeprecated());
            assertEquals("${jar.finalName}", mp.getExpression());
            assertEquals("${project.build.finalName}", mp.getDefaultValue());
            assertEquals("3.0.0", mp.getSince());
    
            ComponentRequirement cr = md.getRequirements().get(0);
    
            assertEquals("org.codehaus.plexus.archiver.Archiver", cr.getRole());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top