FloatPropertypublic abstract class FloatProperty extends android.util.Property An implementation of {@link android.util.Property} to be used specifically with fields of type
float . This type-specific subclass enables performance benefit by allowing
calls to a {@link #set(Object, Float) set()} function that takes the primitive
float type and avoids autoboxing and other overhead associated with the
Float class. |
Constructors Summary |
---|
public FloatProperty(String name)
super(Float.class, name);
|
Methods Summary |
---|
public final void | set(T object, java.lang.Float value)
setValue(object, value);
| public abstract void | setValue(T object, float value)A type-specific override of the {@link #set(Object, Float)} that is faster when dealing
with fields of type float .
|
|