Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for allPrimitiveTypes (0.22 sec)

  1. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

        assertThat(Primitives.unwrap(String.class)).isEqualTo(String.class);
      }
    
      public void testAllPrimitiveTypes() {
        Set<Class<?>> primitives = Primitives.allPrimitiveTypes();
        assertThat(primitives)
            .containsExactly(
                boolean.class,
                byte.class,
                char.class,
                double.class,
                float.class,
                int.class,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(TypeToken.of(Types.supertypeOf(Object[].class)).isArray());
      }
    
      public <T extends Integer> void testPrimitiveWrappingAndUnwrapping() {
        for (Class<?> type : Primitives.allPrimitiveTypes()) {
          assertIsPrimitive(TypeToken.of(type));
        }
        for (Class<?> type : Primitives.allWrapperTypes()) {
          assertIsWrapper(TypeToken.of(type));
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top