Package org.jf.dexlib2.immutable.value
Class ImmutableIntEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseIntEncodedValue
-
- org.jf.dexlib2.immutable.value.ImmutableIntEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>,EncodedValue,IntEncodedValue,ImmutableEncodedValue
- Direct Known Subclasses:
BuilderEncodedValues.BuilderIntEncodedValue
public class ImmutableIntEncodedValue extends BaseIntEncodedValue implements ImmutableEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected intvalue
-
Constructor Summary
Constructors Constructor Description ImmutableIntEncodedValue(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()Gets the integer value.static ImmutableIntEncodedValueof(IntEncodedValue intEncodedValue)-
Methods inherited from class org.jf.dexlib2.base.value.BaseIntEncodedValue
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 ImmutableIntEncodedValue of(IntEncodedValue intEncodedValue)
-
getValue
public int getValue()
Description copied from interface:IntEncodedValueGets the integer value.- Specified by:
getValuein interfaceIntEncodedValue- Returns:
- the int value
-
-