|
Spring for Android | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.util.TypeUtils
public abstract class TypeUtils
Utility to work with Java 5 generic type parameters. Mainly for internal use within the framework.
| Constructor Summary | |
|---|---|
TypeUtils()
|
|
| Method Summary | |
|---|---|
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. |
static boolean |
isAssignableBound(java.lang.reflect.Type lhsType,
java.lang.reflect.Type rhsType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeUtils()
| Method Detail |
|---|
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
public static boolean isAssignableBound(java.lang.reflect.Type lhsType,
java.lang.reflect.Type rhsType)
|
Spring for Android | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||