Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for allPrimitiveTypes (0.08 sec)

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

        assertThat(Primitives.unwrap(String.class)).isSameInstanceAs(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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top