Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getSubtypes (0.22 sec)

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

        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
      private static Type getSubtype(Type type, Class<?> subclass) {
        return TypeToken.of(type).getSubtype(subclass).getType();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
      private static Type getSubtype(Type type, Class<?> subclass) {
        return TypeToken.of(type).getSubtype(subclass).getType();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            new TypeToken<Iterable<List<String>>>() {}.getSubtype(ListIterable.class));
        assertEquals(
            new TypeToken<ListArrayIterable<String>>() {},
            new TypeToken<Iterable<List<String>[]>>() {}.getSubtype(ListArrayIterable.class));
        assertEquals(
            new TypeToken<ListArrayIterable<String>[]>() {},
            new TypeToken<Iterable<List<String>[]>[]>() {}.getSubtype(ListArrayIterable[].class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            new TypeToken<Iterable<List<String>>>() {}.getSubtype(ListIterable.class));
        assertEquals(
            new TypeToken<ListArrayIterable<String>>() {},
            new TypeToken<Iterable<List<String>[]>>() {}.getSubtype(ListArrayIterable.class));
        assertEquals(
            new TypeToken<ListArrayIterable<String>[]>() {},
            new TypeToken<Iterable<List<String>[]>[]>() {}.getSubtype(ListArrayIterable[].class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        TypeToken<List<? extends Number>> numberList = new TypeToken<List<? extends Number>>() {};
        abstract class StringList implements List<String> {}
        assertThrows(IllegalArgumentException.class, () -> numberList.getSubtype(StringList.class));
      }
    
      private static class OwnerTypeSubtypingTests extends SubtypeTester {
        @TestSubtype
        public Mall<Outdoor>.Shop<Electronics> innerTypeIsSubtype(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top