Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getSubtype (0.09 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. 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)
  4. 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. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

                    final MediaType mediaTypeFromFilename = mimeTypes.detect(null, metadata);
                    return mediaTypeFromFilename.getType() + "/" + mediaTypeFromFilename.getSubtype();
                }
                return mediaType.getType() + "/" + mediaType.getSubtype();
            } catch (final IOException e) {
                throw new MimeTypeException("Could not detect a content type.", e);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. 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