Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for subtyping (0.18 sec)

  1. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

        // First, all the classes in the hierarchy, subclasses before superclasses
        val classes = ancestorClassesIncludingSelf.toList()
        yieldAll(classes)
    
        // Then all supported interfaces sorted by subtyping (subtypes before supertypes)
        val interfaces = mutableListOf<Class<*>>()
        classes.forEach { `class` ->
            `class`.interfaces.forEach { `interface` ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

    `OkHttpClient` has 26 accessors like `interceptors()` and `writeTimeoutMillis()` that were non-final
    in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like
    [Mockito][mockito]. We believe subtyping `OkHttpClient` is the wrong way to test with OkHttp. If
    you must, mock `Call.Factory` which is the interface that `OkHttpClient` implements.
    
    #### Internal API changes
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            partialExplicitTypeBoundIsNotSubtypeOfDifferentTypeBound(
                UseSerializableIterable<? extends Serializable> obj) {
          return notSubtype(obj);
        }
      }
    
      // TODO(benyu): migrate all subtyping tests from TypeTokenTest to this class using SubtypeTester.
    
      private interface Outdoor {}
    
      private interface Indoor {}
    
      private interface Grocery {}
    
      private interface Electronics {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            partialExplicitTypeBoundIsNotSubtypeOfDifferentTypeBound(
                UseSerializableIterable<? extends Serializable> obj) {
          return notSubtype(obj);
        }
      }
    
      // TODO(benyu): migrate all subtyping tests from TypeTokenTest to this class using SubtypeTester.
    
      private interface Outdoor {}
    
      private interface Indoor {}
    
      private interface Grocery {}
    
      private interface Electronics {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

     *       these guarantees to be violated).
     * </ul>
     *
     * <h4>"Interfaces", not implementations</h4>
     *
     * <p>These are classes instead of interfaces to prevent external subtyping, but should be thought
     * of as interfaces in every important sense. Each public class such as {@link ImmutableSet} is a
     * <i>type</i> offering meaningful behavioral guarantees. This is substantially different from the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            when:
            extract(type)
    
            then:
            def e = thrown(InvalidManagedModelElementTypeException)
            e.message == """Type $type is not a valid model element type:
    - subtyping $ModelSet.name is not supported"""
        }
    
        def "model sets of model set are supported"() {
            given:
            def type = new ModelType<ModelSet<ModelSet<A1>>>() {}
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       these guarantees to be violated).
     * </ul>
     *
     * <h4>"Interfaces", not implementations</h4>
     *
     * <p>These are classes instead of interfaces to prevent external subtyping, but should be thought
     * of as interfaces in every important sense. Each public class such as {@link ImmutableSet} is a
     * <i>type</i> offering meaningful behavioral guarantees. This is substantially different from the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeResolver.java

              Set<Type> combined = new LinkedHashSet<>(asList(upperBounds));
              // Since this is an artificially generated type variable, we don't bother checking
              // subtyping between declared type bound and actual type bound. So it's possible that we
              // may generate something like <capture#1-of ? extends Foo&SubFoo>.
              // Checking subtype between declared and actual type bounds
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

              Set<Type> combined = new LinkedHashSet<>(asList(upperBounds));
              // Since this is an artificially generated type variable, we don't bother checking
              // subtyping between declared type bound and actual type bound. So it's possible that we
              // may generate something like <capture#1-of ? extends Foo&SubFoo>.
              // Checking subtype between declared and actual type bounds
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
Back to top