Package icyllis.modernui.util
Class FloatProperty<T>
java.lang.Object
icyllis.modernui.util.Property<T,Float>
icyllis.modernui.util.FloatProperty<T>
- Type Parameters:
T
- The class on which the Property is declared.
An implementation of
Property
to be used specifically with fields of type
float
. This type-specific subclass enables performance benefit by allowing
calls to a setValue()
function that takes the primitive
float
type and avoids autoboxing and other overhead associated with the
Float
class.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FloatProperty
-
-
Method Details
-
setValue
A type-specific variant ofset(Object, Float)
that is faster when dealing with fields of typefloat
. -
set
Deprecated.Description copied from class:Property
Sets the value onobject
which this property represents. If the method is unable to set the value on the target object it will throw anUnsupportedOperationException
exception.
-