Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newParameterizedTypeWithOwner (0.21 sec)

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

        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newParameterizedTypeWithOwner(Number.class, List.class, String.class));
      }
    
      public void testNewParameterizedType_ownerMissing() {
        assertEquals(
            Types.newParameterizedType(Entry.class, String.class, Integer.class),
            Types.newParameterizedTypeWithOwner(null, Entry.class, String.class, Integer.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypesTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newParameterizedTypeWithOwner(Number.class, List.class, String.class));
      }
    
      public void testNewParameterizedType_ownerMissing() {
        assertEquals(
            Types.newParameterizedType(Entry.class, String.class, Integer.class),
            Types.newParameterizedTypeWithOwner(null, Entry.class, String.class, Integer.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

      }
    
      /**
       * Returns a type where {@code rawType} is parameterized by {@code arguments} and is owned by
       * {@code ownerType}.
       */
      static ParameterizedType newParameterizedTypeWithOwner(
          @CheckForNull Type ownerType, Class<?> rawType, Type... arguments) {
        if (ownerType == null) {
          return newParameterizedType(rawType, arguments);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top