public abstract class TypeUtils
extends java.lang.Object
Title: TypeUtils.java
Description:
bboss workgroup
Copyright (c) 2008
| 构造器和说明 |
|---|
TypeUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isAssignable(java.lang.reflect.Type lhsType,
java.lang.reflect.Type rhsType)
Check if the right-hand side type may be assigned to the left-hand side
type following the Java generics rules.
|
public static boolean isAssignable(java.lang.reflect.Type lhsType,
java.lang.reflect.Type rhsType)
lhsType - the target typerhsType - the value type that should be assigned to the target type