Package org.jf.dexlib2.immutable.value
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 org.jf.dexlib2.base.value.BaseShortEncodedValue
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 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
-