T - The class on which the Property is declared.public abstract class FloatProperty<T>
extends android.util.Property<T,java.lang.Float>
Property to be used specifically with fields of type
float. This type-specific subclass enables performance benefit by allowing
calls to a set() function that takes the primitive
float type and avoids autoboxing and other overhead associated with the
Float class.| Constructor and Description |
|---|
FloatProperty(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
set(T object,
java.lang.Float value) |
abstract void |
setValue(T object,
float value)
A type-specific override of the
set(Object, Float) that is faster when dealing
with fields of type float. |
public abstract void setValue(T object, float value)
set(Object, Float) that is faster when dealing
with fields of type float.