Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ArrayOf (0.04 sec)

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

        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
        assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class));
        assertEquals(int[].class, arrayOf(int.class).getRawType());
      }
    
      @SuppressWarnings("unused") // used by reflection
      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
        assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class));
        assertEquals(int[].class, arrayOf(int.class).getRawType());
      }
    
      @SuppressWarnings("unused") // used by reflection
      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        val editor = cache.edit("k1")!!
        editor.setString(0, "AB")
        editor.setString(1, "C")
        cache.close()
        val expected = if (windows) arrayOf("DIRTY k1") else arrayOf("DIRTY k1", "REMOVE k1")
        assertJournalEquals(*expected)
        editor.commit()
        assertJournalEquals(*expected) // 'REMOVE k1' not written because journal is closed.
      }
    
      @ParameterizedTest
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top