public interface ByteValue
Implementations may store the value in different formats or mediums. For example, the value could be stored in binary format or text format, in memory or on disk.
The getValue method retrieves the current byte value. The setValue method sets the byte value. The addValue method adds a specified byte to the current value and returns the result.
BooleanValue,
ByteValue,
CharValue,
DoubleValue,
FloatValue,
IntValue,
LongValue,
ShortValue,
StringValue,
LongArrayValues,
IntArrayValues| Modifier and Type | Method and Description |
|---|---|
byte |
addValue(byte b)
Adds a specified byte to the current value and returns the result.
|
byte |
getValue()
Retrieves the byte value.
|
void |
setValue(byte value)
Sets the byte value.
|
byte getValue()
void setValue(byte value)
value - the byte value to setbyte addValue(byte b)
b - the byte to add to the current valueCopyright © 2024. All rights reserved.