Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getDefaultValue (0.06 seconds)

  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. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            try {
                final Method method = UriType.class.getMethod("protocolType");
                assertNotNull(method, "protocolType method should exist");
                assertNull(method.getDefaultValue(), "protocolType should not have default value");
            } catch (final NoSuchMethodException e) {
                fail("protocolType method should exist");
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
Back to Top