Class TypeUtil

java.lang.Object
org.seppiko.commons.utils.TypeUtil

public class TypeUtil
extends java.lang.Object
Type util
Author:
Leonard Woo
  • Constructor Summary

    Constructors
    Constructor Description
    TypeUtil()  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.Class<?> checkType​(java.lang.Object obj)
    get Object type
    static java.lang.Class<?> warpper​(java.lang.Class<?> type)
    get type boxing class

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TypeUtil

      public TypeUtil()
  • Method Details

    • checkType

      public static java.lang.Class<?> checkType​(java.lang.Object obj)
      get Object type
      Parameters:
      obj - Object
      Returns:
      object type class
    • warpper

      public static java.lang.Class<?> warpper​(java.lang.Class<?> type)
      get type boxing class
      Parameters:
      type - type class
      Returns:
      boxing class