Package org.jf.dexlib2.immutable.value
Class ImmutableFloatEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseFloatEncodedValue
-
- org.jf.dexlib2.immutable.value.ImmutableFloatEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>
,EncodedValue
,FloatEncodedValue
,ImmutableEncodedValue
- Direct Known Subclasses:
BuilderEncodedValues.BuilderFloatEncodedValue
public class ImmutableFloatEncodedValue extends BaseFloatEncodedValue implements ImmutableEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected float
value
-
Constructor Summary
Constructors Constructor Description ImmutableFloatEncodedValue(float value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getValue()
Gets the float value.static ImmutableFloatEncodedValue
of(FloatEncodedValue floatEncodedValue)
-
Methods inherited from class org.jf.dexlib2.base.value.BaseFloatEncodedValue
compareTo, equals, getValueType, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.value.EncodedValue
getValueType
-
-
-
-
Method Detail
-
of
public static ImmutableFloatEncodedValue of(FloatEncodedValue floatEncodedValue)
-
getValue
public float getValue()
Description copied from interface:FloatEncodedValue
Gets the float value.- Specified by:
getValue
in interfaceFloatEncodedValue
- Returns:
- the float value
-
-