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:
Comparable<EncodedValue>,EncodedValue,IntEncodedValue,ImmutableEncodedValue
- Direct Known Subclasses:
BuilderEncodedValues.BuilderIntEncodedValue
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Gets the integer value.static ImmutableIntEncodedValueof(IntEncodedValue intEncodedValue) Methods inherited from class org.jf.dexlib2.base.value.BaseIntEncodedValue
compareTo, equals, getValueType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jf.dexlib2.iface.value.EncodedValue
getValueType
-
Field Details
-
value
protected final int value
-
-
Constructor Details
-
ImmutableIntEncodedValue
public ImmutableIntEncodedValue(int value)
-
-
Method Details
-
of
-
getValue
public int getValue()Description copied from interface:IntEncodedValueGets the integer value.- Specified by:
getValuein interfaceIntEncodedValue- Returns:
- the int value
-