public class TypedValue extends Object
getClass()
call on the object.Modifier and Type | Field and Description |
---|---|
static TypedValue |
NULL |
Constructor and Description |
---|
TypedValue(Object value)
Create a TypedValue for a simple object.
|
TypedValue(Object value,
TypeDescriptor typeDescriptor)
Create a TypedValue for a particular value with a particular type descriptor.
|
public static final TypedValue NULL
public TypedValue(Object value)
value
- the object valuepublic TypedValue(Object value, TypeDescriptor typeDescriptor)
value
- the object valuetypeDescriptor
- a type descriptor describing the type of the valuepublic Object getValue()
public TypeDescriptor getTypeDescriptor()