Class ImmutableShortEncodedValue
java.lang.Object
org.jf.dexlib2.base.value.BaseShortEncodedValue
org.jf.dexlib2.immutable.value.ImmutableShortEncodedValue
- All Implemented Interfaces:
Comparable<EncodedValue>, EncodedValue, ShortEncodedValue, ImmutableEncodedValue
- Direct Known Subclasses:
BuilderEncodedValues.BuilderShortEncodedValue
public class ImmutableShortEncodedValue
extends BaseShortEncodedValue
implements ImmutableEncodedValue
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortgetValue()Gets the short value.static ImmutableShortEncodedValueof(ShortEncodedValue shortEncodedValue) Methods inherited from class BaseShortEncodedValue
compareTo, equals, getValueType, hashCode, toStringMethods inherited from interface EncodedValue
getValueType
-
Field Details
-
value
protected final short value
-
-
Constructor Details
-
ImmutableShortEncodedValue
public ImmutableShortEncodedValue(short value)
-
-
Method Details
-
of
-
getValue
public short getValue()Description copied from interface:ShortEncodedValueGets the short value.- Specified by:
getValuein interfaceShortEncodedValue- Returns:
- the short value
-