Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for DefaultValue (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/MediaType.kt

    ) {
      /**
       * Returns the charset of this media type, or [defaultValue] if either this media type doesn't
       * specify a charset, or if its charset is unsupported by the current runtime.
       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
        return try {
          Charset.forName(charset)
        } catch (_: IllegalArgumentException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                } catch (final NumberFormatException e) {}
            }
            return defaultValue;
        }
    
        protected String getDefaultString(final String key, final String defaultValue) {
            final String value = systemProperties.getProperty(key);
            if (value != null) {
                return value;
            }
            return defaultValue;
        }
    
        protected boolean isWebCrawlingPath(final String path) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. 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>
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

       * position}th position or {@code defaultValue} otherwise.
       *
       * @param position position of the element to return
       * @param defaultValue the default value to return if the iterator is empty or if {@code position}
       *     is greater than the number of elements remaining in {@code iterator}
       * @return the element at the specified position in {@code iterator} or {@code defaultValue} if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/mdo/maven.mdo

              <name>type</name>
              <version>4.0.0+</version>
              <defaultValue>mail</defaultValue>
              <type>String</type>
              <description>The mechanism used to deliver notifications.</description>
            </field>
            <field>
              <name>sendOnError</name>
              <version>4.0.0+</version>
              <defaultValue>true</defaultValue>
              <type>boolean</type>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

            }
        }
    
        protected <T> T getInitParameter(final String key, final T defaultValue, final Class<T> clazz) {
            if (initParamMap != null) {
                try {
                    final Object paramValue = initParamMap.get(key);
                    if (paramValue == null) {
                        return defaultValue;
                    }
    
                    return convertObj(paramValue, clazz);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. api/maven-api-metadata/src/main/mdo/metadata.mdo

              <version>1.0.0+</version>
              <description>Whether to use a local copy instead (with filename that includes the base version)</description>
              <type>boolean</type>
              <defaultValue>false</defaultValue>
            </field>
          </fields>
        </class>
        <class java.clone="deep">
          <name>SnapshotVersion</name>
          <version>1.1.0+</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Present.java

      }
    
      @Override
      public boolean isPresent() {
        return true;
      }
    
      @Override
      public T get() {
        return reference;
      }
    
      @Override
      public T or(T defaultValue) {
        checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
        return reference;
      }
    
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        checkNotNull(secondChoice);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/ExecJob.java

                if (appendValue != null) {
                    buf.append(appendValue);
                }
                cmdList.add(buf.toString());
            } else if (defaultValue != null) {
                cmdList.add("-D" + name + "=" + defaultValue);
            }
        }
    
        protected void addFessConfigProperties(final List<String> cmdList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Override
        public Path getPath() {
            return artifact.getPath();
        }
    
        @Override
        public String getProperty(String key, String defaultValue) {
            return artifact.getProperty(key, defaultValue);
        }
    
        @Override
        public Map<String, String> getProperties() {
            return artifact.getProperties();
        }
    
        public String getMessage() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top