FileDocCategorySizeDatePackage
FloatProperty.javaAPI DocAndroid 5.1 API1617Thu Mar 12 22:22:10 GMT 2015android.util

FloatProperty

public 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.
param
The class on which the Property is declared.
hide

Fields Summary
Constructors Summary
public FloatProperty(String name)

        super(Float.class, name);
    
Methods Summary
public final voidset(T object, java.lang.Float value)

        setValue(object, value);
    
public abstract voidsetValue(T object, float value)
A type-specific override of the {@link #set(Object, Float)} that is faster when dealing with fields of type float.