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 BaseIntEncodedValue
compareTo, equals, getValueType, hashCode, toStringMethods inherited from interface 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
-