- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for allWrapperTypes (0.04 sec)
-
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
void.class); assertThrows(UnsupportedOperationException.class, () -> primitives.remove(boolean.class)); } public void testAllWrapperTypes() { Set<Class<?>> wrappers = Primitives.allWrapperTypes(); assertThat(wrappers) .containsExactly( Boolean.class, Byte.class, Character.class, Double.class, Float.class,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
public <T extends Integer> void testPrimitiveWrappingAndUnwrapping() { for (Class<?> type : Primitives.allPrimitiveTypes()) { assertIsPrimitive(TypeToken.of(type)); } for (Class<?> type : Primitives.allWrapperTypes()) { assertIsWrapper(TypeToken.of(type)); } assertNotPrimitiveNorWrapper(TypeToken.of(String.class)); assertNotPrimitiveNorWrapper(TypeToken.of(Object[].class));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 89K bytes - Viewed (0)