Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 86 for defaultValues (0.21 seconds)

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

  1. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (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;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 4.3K bytes
    - Click Count (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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  4. internal/logger/config.go

    		AuditKafka:   make(map[string]kafka.Config),
    	}
    
    	return cfg
    }
    
    func getCfgVal(envName, key, defaultValue string) string {
    	if key != config.Default {
    		envName = envName + config.Default + key
    	}
    	return env.Get(envName, defaultValue)
    }
    
    func lookupLegacyConfigForSubSys(ctx context.Context, subSys string) Config {
    	cfg := NewConfig()
    	switch subSys {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.7K bytes
    - Click Count (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
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 13.1K bytes
    - Click Count (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,
      )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      }
    
      @Override
      public final @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) {
        V result = get(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (result != null) {
          return result;
        } else {
          return defaultValue;
        }
      }
    
      private transient @Nullable ImmutableSet<Entry<K, V>> cachedEntrySet = null;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  8. 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());
    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)
  9. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         *
         * @param key the property key.
         * @param defaultValue a default value.
         * @return The property value of the default value
         */
        public String getProperty(String key, String defaultValue) {
            if (this.get(key) != null) {
                return this.get(key);
            }
            return defaultValue;
        }
    
        @Override
        public Set<Entry<String, String>> entrySet() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
Back to Top