- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ArrayOf (0.1 sec)
-
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
@GwtIncompatible // SerializableTester public void testKeySetIsSerializable_jdkBackedImmutableMap() { class NonSerializableClass {} Entry<String, NonSerializableClass>[] entries = arrayOf(ImmutableMap.entryOf("one", new NonSerializableClass())); ImmutableMap<String, NonSerializableClass> map = JdkBackedImmutableMap.create(1, entries, /* throwIfDuplicateKeys= */ true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.1K bytes - Viewed (0) -
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) -
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)