Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for defaultValue (0.08 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

         * PluginParameterExpressionEvaluator</a>.
         * @return the default value
         */
        @Nonnull
        String defaultValue() default "";
    
        /**
         * is the parameter required?
         * @return <code>true</code> if the Mojo should fail when the parameter cannot be injected
         */
        boolean required() default false;
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java

        /**
         * Specifies the default value of the configuration property.
         *
         * @return the default value as a string, defaults to empty string
         */
        String defaultValue() default "";
    
        /**
         * Specifies whether the configuration property is read-only.
         *
         * @return true if the property is read-only, false otherwise
         */
        boolean readOnly() default false;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        throw new UnsupportedOperationException();
      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
        return pickInstance(Arrays.asList(instances), defaultValue);
      }
    
      private <T> T pickInstance(Collection<T> instances, T defaultValue) {
        if (instances.isEmpty()) {
          return defaultValue;
        }
        // generateInt() is 1-based.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        default String getSystemProperty(final String key, final String defaultValue) {
            return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key, defaultValue));
        }
    
        default void setSystemProperty(final String key, final String value) {
            if (value != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        @Override
        public Object get(final Object key) {
            return getProperties().get(key);
        }
    
        @Override
        public String getProperty(final String key, final String defaultValue) {
            return getProperties().getProperty(key, defaultValue);
        }
    
        @Override
        public String getProperty(final String key) {
            return getProperties().getProperty(key);
        }
    
        @Override
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      )
      fun handshake(): Handshake? = handshake
    
      fun headers(name: String): List<String> = headers.values(name)
    
      @JvmOverloads
      fun header(
        name: String,
        defaultValue: String? = null,
      ): String? = headers[name] ?: defaultValue
    
      @JvmName("-deprecated_headers")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "headers"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

         * @param key the key to look up
         * @param defaultValue the default value to return if key is not found or value is blank
         * @return the value from the map or the default value
         */
        private String getValueFromMap(final Map<String, String> dataMap, final String key, final String defaultValue) {
            final String value = dataMap.get(key);
            if (StringUtil.isBlank(value)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

        /*
         * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who
         * pass a literal "null" should probably just use `get`, but I would expect other callers to
         * pass an expression that *might* be null. This could happen with:
         *
         * - a `getFooOrDefault(@Nullable Foo defaultValue)` method that returns
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

         * @param key the parameter key to look up
         * @param defaultValue the default value to return if key is not found
         * @return the parameter value as a string, or the default value if not found
         */
        protected String getParamValue(final DataStoreParams paramMap, final String key, final String defaultValue) {
            return paramMap.getAsString(key, defaultValue);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        // We assume that all defaults are generics-safe, even if they aren't,
        // we take the risk.
        @SuppressWarnings("unchecked")
        T defaultValue = (T) defaults.getInstance(type.getRawType());
        if (defaultValue != null) {
          return defaultValue;
        }
        @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe
        T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top