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