- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for anyIterableType (0.1 sec)
-
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
IllegalArgumentException.class, () -> map.getInstance(this.<Number>anyIterableType())); } public void testPut_containsTypeVariable() { ImmutableTypeToInstanceMap.Builder<Iterable<Integer>> builder = ImmutableTypeToInstanceMap.builder(); assertThrows( IllegalArgumentException.class, () -> builder.put(this.<Integer>anyIterableType(), ImmutableList.of(1))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
IllegalArgumentException.class, () -> map.getInstance(this.<Number>anyIterableType())); } public void testPutInstance_withTypeVariable() { assertThrows( IllegalArgumentException.class, () -> map.putInstance(this.<Integer>anyIterableType(), ImmutableList.of(1))); } private <T> TypeToken<Iterable<T>> anyIterableType() { return new TypeToken<Iterable<T>>() {}; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0)