Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for supertypeOf (0.07 sec)

  1. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<? extends String>>() {}.capture())
                .resolveType(t));
        assertEquals(
            Types.supertypeOf(String.class),
            new TypeResolver()
                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<? super String>>() {}.capture())
                .resolveType(t));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<? extends String>>() {}.capture())
                .resolveType(t));
        assertEquals(
            Types.supertypeOf(String.class),
            new TypeResolver()
                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<? super String>>() {}.capture())
                .resolveType(t));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            PropertyDoc propertyDocA = propertyDoc('a')
            PropertyDoc propertyDocC = propertyDoc('c')
    
            ClassDoc superType1 = classDoc("org.gradle.SuperType1")
            ClassDoc superType2 = classDoc("org.gradle.SuperType2")
    
            def content = parse('''
    <section>
        <section><title>Properties</title>
            <table>
                <thead><tr><td>Name</td></tr></thead>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            MethodDoc methodD = methodDoc('d')
            MethodDoc methodE = methodDoc('e')
            ClassDoc superClass = classDoc('org.gradle.SuperClass')
            ClassDoc superType1 = classDoc("org.gradle.SuperType1")
            ClassDoc superType2 = classDoc("org.gradle.SuperType2")
    
            def content = parse('''
    <section>
        <section><title>Methods</title>
            <table>
                <thead><tr><td>Name</td></tr></thead>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            Map<String, PropertyDoc> props = new TreeMap<String, PropertyDoc>();
            List<ClassDoc> superTypes = classDoc.getSuperTypes();
            for (ClassDoc superType : superTypes) {
                LOG.info("Getting properties for {}", superType.getName());
                for (PropertyDoc propertyDoc : superType.getClassProperties()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(TypeToken<T> type);
    
      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
       * of the class's supertypes.
       *
       * <p>{@code putInstance(Foo.class, foo)} is equivalent to {@code
       * putInstance(TypeToken.of(Foo.class), foo)}.
       *
       * @return the value previously associated with this class (possibly {@code null}), or {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/TypeToInstanceMap.java

       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(TypeToken<T> type);
    
      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
       * of the class's supertypes.
       *
       * <p>{@code putInstance(Foo.class, foo)} is equivalent to {@code
       * putInstance(TypeToken.of(Foo.class), foo)}.
       *
       * @return the value previously associated with this class (possibly {@code null}), or {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
       * of the class's supertypes.
       *
       * @return the value previously associated with this class (possibly {@code null}), or {@code
       *     null} if there was no previous entry.
       */
      @CanIgnoreReturnValue
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                        signatures.add(method.getOverrideSignature());
                    }
                }
            }
    
            for (ClassDoc supertype : classDoc.getSuperTypes()) {
                for (MethodDoc method: supertype.getClassMethods()){
                    if (signatures.add(method.getMetaData().getOverrideSignature())) {
                        classDoc.addClassMethod(method);
                    }
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java

            .asList()
            .containsExactly(
                ListenableFuture.class.getMethod("addListener", Runnable.class, Executor.class));
        assertWithMessage(
                "Do not add new supertypes to ListenableFuture. Its API needs to continue to match the"
                    + " version we released in a separate artifact com.google.guava:listenablefuture.")
            .that(ListenableFuture.class.getInterfaces())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 19:48:16 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top