public class BytesValue extends Object implements Comparable<BytesValue>, Serializable
| Constructor and Description |
|---|
BytesValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BytesValue other)
Compares this object with the specified object for order.
|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
byte[] |
getValue()
Get the bytes value as byte array.
|
String |
getValueAsHex()
Get the bytes value as hexadecimal string.
|
long |
getValueAsNumber()
Get the bytes value as long.
|
String |
getValueAsString()
Get bytes value as UTF-8 string.
|
int |
hashCode()
Returns a hash code value for the object.
|
String |
toString()
The string representation of the object.
|
public byte[] getValue()
public long getValueAsNumber()
public String getValueAsString()
public String getValueAsHex()
public String toString()
public int compareTo(BytesValue other)
compareTo in interface Comparable<BytesValue>public int hashCode()
Copyright © 2019–2024 Teslanet.nl. All rights reserved.