Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testNewParameterizedTypeImmutability (0.2 sec)

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

            .inOrder();
      }
    
      /**
       * Working with arrays requires defensive code. Verify that we clone the type array for both input
       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
        ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, typesIn);
        typesIn[0] = null;
        typesIn[1] = null;
    
    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

            .inOrder();
      }
    
      /**
       * Working with arrays requires defensive code. Verify that we clone the type array for both input
       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
        ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, typesIn);
        typesIn[0] = null;
        typesIn[1] = null;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top