- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testSubtypeOf_subclass (0.13 sec)
-
guava-tests/test/com/google/common/base/PredicatesTest.java
assertThrows(NullPointerException.class, () -> isInteger.apply(null)); } @J2ktIncompatible @GwtIncompatible // Predicates.subtypeOf public void testSubtypeOf_subclass() { Predicate<Class<?>> isNumber = Predicates.subtypeOf(Number.class); assertTrue(isNumber.apply(Integer.class)); assertTrue(isNumber.apply(Float.class)); } @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0)