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:
java.lang.Comparable<EncodedValue>
,EncodedValue
,ShortEncodedValue
,ImmutableEncodedValue
- Direct Known Subclasses:
BuilderEncodedValues.BuilderShortEncodedValue
public class ImmutableShortEncodedValue extends BaseShortEncodedValue implements ImmutableEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected short
value
-
Constructor Summary
Constructors Constructor Description ImmutableShortEncodedValue(short value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getValue()
Gets the short value.static ImmutableShortEncodedValue
of(ShortEncodedValue shortEncodedValue)
-
Methods inherited from class org.jf.dexlib2.base.value.BaseShortEncodedValue
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 ImmutableShortEncodedValue of(ShortEncodedValue shortEncodedValue)
-
getValue
public short getValue()
Description copied from interface:ShortEncodedValue
Gets the short value.- Specified by:
getValue
in interfaceShortEncodedValue
- Returns:
- the short value
-
-