Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WithType (0.2 sec)

  1. build.gradle.kts

      apply(plugin = "biz.aQute.bnd.builder")
      apply(plugin = "io.github.usefulness.maven-sympathy")
    
      tasks.withType<JavaCompile> {
        options.encoding = Charsets.UTF_8.toString()
      }
    
      configure<JavaPluginExtension> {
        toolchain {
          languageVersion.set(JavaLanguageVersion.of(17))
        }
      }
    
      tasks.withType<Checkstyle>().configureEach {
        exclude("**/CipherSuite.java")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. container-tests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Absent.java

    @ElementTypesAreNonnullByDefault
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
      public T get() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is equivalent to Java 8's
       * {@code Optional.empty}.
       */
      public static <T> Optional<T> absent() {
        return Absent.withType();
      }
    
      /**
       * Returns an {@code Optional} instance containing the given non-null reference. To have {@code
       * null} treated as {@link #absent}, use {@link #fromNullable} instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top