Package backtraceio.library.common
Class TypeHelper
java.lang.Object
backtraceio.library.common.TypeHelper
Backtrace TypeHelper helps with common type comparision.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check if object type is primitive - for example: int or long.
-
Constructor Details
-
TypeHelper
public TypeHelper()
-
-
Method Details
-
isPrimitiveOrPrimitiveWrapperOrString
Check if object type is primitive - for example: int or long.- Parameters:
type
- object to check- Returns:
- true, if an object is primitive. Otherwise false.
-