Lines Matching refs:primitives
17 package com.google.common.primitives;
27 * Unit test for {@link Primitives}.
33 assertTrue(Primitives.isWrapperType(Void.class));
34 assertFalse(Primitives.isWrapperType(void.class));
38 assertSame(Integer.class, Primitives.wrap(int.class));
39 assertSame(Integer.class, Primitives.wrap(Integer.class));
40 assertSame(String.class, Primitives.wrap(String.class));
44 assertSame(int.class, Primitives.unwrap(Integer.class));
45 assertSame(int.class, Primitives.unwrap(int.class));
46 assertSame(String.class, Primitives.unwrap(String.class));
50 Set<Class<?>> primitives = Primitives.allPrimitiveTypes();
55 primitives);
58 primitives.remove(boolean.class);
65 Set<Class<?>> wrappers = Primitives.allWrapperTypes();
81 tester.testAllPublicStaticMethods(Primitives.class);