PrimitiveUtils (EasyMock 5.5.0 API)
Date: 2024-11-17

org.easymock.internal

## Class PrimitiveUtils

- java.lang.Object
- - org.easymock.internal.PrimitiveUtils

-     public final class PrimitiveUtils
      extends Object

  Helper class for primitive types.
  Author:
    Henri Tremblay

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Object` | `getEmptyValue(Class<?> type)`
    `static String` | `getPrimitiveTypeNameFromWrapper(Class<?> type)`
    `static Class<?>` | `getWrapperType(Class<?> type)`
    `static boolean` | `isPrimitiveWrapper(Class<?> type)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getEmptyValue

          public static Object getEmptyValue(Class<?> type)

    - #### getWrapperType

          public static Class<?> getWrapperType(Class<?> type)

    - #### isPrimitiveWrapper

          public static boolean isPrimitiveWrapper(Class<?> type)

    - #### getPrimitiveTypeNameFromWrapper

          public static String getPrimitiveTypeNameFromWrapper(Class<?> type)

Copyright © 2001–2024 EasyMock contributors. All rights reserved.