Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for arraytype (0.99 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

          }
          if (type instanceof TypeVariable) {
            return type;
          }
          if (type instanceof GenericArrayType) {
            GenericArrayType arrayType = (GenericArrayType) type;
            return Types.newArrayType(
                notForTypeVariable().capture(arrayType.getGenericComponentType()));
          }
          if (type instanceof ParameterizedType) {
            ParameterizedType parameterizedType = (ParameterizedType) type;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeResolver.java

          }
          if (type instanceof TypeVariable) {
            return type;
          }
          if (type instanceof GenericArrayType) {
            GenericArrayType arrayType = (GenericArrayType) type;
            return Types.newArrayType(
                notForTypeVariable().capture(arrayType.getGenericComponentType()));
          }
          if (type instanceof ParameterizedType) {
            ParameterizedType parameterizedType = (ParameterizedType) type;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(
            from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
      private static void assertHasArrayInterfaces(TypeToken<?> arrayType) {
        assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces()));
      }
    
      private static ImmutableSet<TypeToken<?>> arrayInterfaces() {
        ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(
            from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
      private static void assertHasArrayInterfaces(TypeToken<?> arrayType) {
        assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces()));
      }
    
      private static ImmutableSet<TypeToken<?>> arrayInterfaces() {
        ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Platform.java

       */
      @SuppressWarnings({"nullness", "unchecked"})
      static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
        return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass());
      }
    
      /**
       * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Platform.java

       */
      @SuppressWarnings({"nullness", "unchecked"})
      static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
        return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass());
      }
    
      /**
       * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top