public class DecodedValue<T> extends Object
Constructor and Description |
---|
DecodedValue(T value,
int offset)
Constructor.
|
DecodedValue(T value,
int offset,
int overflow)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getOffset()
Returns offset after decoding.
|
int |
getOverflow()
Returns overflow during decoding integer.
|
T |
getValue()
Returns decoded value.
|
void |
setOffset(int offset)
Sets offset after decoding.
|
void |
setOverflow(int overflow)
Sets overflow during decoding integer.
|
void |
setValue(T value)
Sets decoded value.
|
String |
toString() |
public DecodedValue(T value, int offset)
value
- decoded valueoffset
- offset after decodingpublic DecodedValue(T value, int offset, int overflow)
value
- decoded valueoffset
- offset after decodingoverflow
- overflow during decoding integerpublic T getValue()
public void setValue(T value)
value
- decoded valuepublic int getOffset()
public void setOffset(int offset)
offset
- offset after decodingpublic int getOverflow()
public void setOverflow(int overflow)
overflow
- overflow during decoding integerCopyright © 2005–2024 Onix Solutions. All rights reserved.