Class ImmutableFloatEncodedValue
java.lang.Object
org.jf.dexlib2.base.value.BaseFloatEncodedValue
org.jf.dexlib2.immutable.value.ImmutableFloatEncodedValue
- All Implemented Interfaces:
Comparable<EncodedValue>, EncodedValue, FloatEncodedValue, ImmutableEncodedValue
- Direct Known Subclasses:
BuilderEncodedValues.BuilderFloatEncodedValue
public class ImmutableFloatEncodedValue
extends BaseFloatEncodedValue
implements ImmutableEncodedValue
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetValue()Gets the float value.static ImmutableFloatEncodedValueof(FloatEncodedValue floatEncodedValue) Methods inherited from class BaseFloatEncodedValue
compareTo, equals, getValueType, hashCode, toStringMethods inherited from interface EncodedValue
getValueType
-
Field Details
-
value
protected final float value
-
-
Constructor Details
-
ImmutableFloatEncodedValue
public ImmutableFloatEncodedValue(float value)
-
-
Method Details
-
of
-
getValue
public float getValue()Description copied from interface:FloatEncodedValueGets the float value.- Specified by:
getValuein interfaceFloatEncodedValue- Returns:
- the float value
-