Class ImmutableByteEncodedValue
java.lang.Object
org.jf.dexlib2.base.value.BaseByteEncodedValue
org.jf.dexlib2.immutable.value.ImmutableByteEncodedValue
- All Implemented Interfaces:
Comparable<EncodedValue>, ByteEncodedValue, EncodedValue, ImmutableEncodedValue
- Direct Known Subclasses:
BuilderEncodedValues.BuilderByteEncodedValue
public class ImmutableByteEncodedValue
extends BaseByteEncodedValue
implements ImmutableEncodedValue
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytegetValue()Gets the byte value.static ImmutableByteEncodedValueof(ByteEncodedValue byteEncodedValue) Methods inherited from class BaseByteEncodedValue
compareTo, equals, getValueType, hashCode, toStringMethods inherited from interface EncodedValue
getValueType
-
Field Details
-
value
protected final byte value
-
-
Constructor Details
-
ImmutableByteEncodedValue
public ImmutableByteEncodedValue(byte value)
-
-
Method Details
-
of
-
getValue
public byte getValue()Description copied from interface:ByteEncodedValueGets the byte value.- Specified by:
getValuein interfaceByteEncodedValue- Returns:
- the byte value
-