public class PrimitiveUtil extends Object
Constructor and Description |
---|
PrimitiveUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
arePrimitiveTypesAssignable(Class toType,
Class fromType) |
static Class |
getBoxedType(Class primitiveType) |
static Class |
getPrimitiveType(Class boxedType) |
static int |
getPriorityOf(Class to,
Class from) |
static boolean |
isBoxed(Class type) |
static boolean |
isBoxedTypeFor(Class primitiveType,
Class boxedType) |
static int |
losesInformation(Class from,
Class to) |
public static boolean isBoxed(Class type)
Copyright © 2024. All rights reserved.