public class Binary extends Object implements Comparable<Binary>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static Binary |
EMPTY_VALUE |
| Constructor and Description |
|---|
Binary(byte[] v)
if the bytes v is modified, the modification is visible to this binary.
|
Binary(String s) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Binary other) |
boolean |
equals(Object other) |
int |
getLength()
get length.
|
String |
getStringValue() |
String |
getTextEncodingType() |
byte[] |
getValues() |
int |
hashCode() |
void |
setValues(byte[] values) |
String |
toString() |
static Binary |
valueOf(String value) |
public static final Binary EMPTY_VALUE
public Binary(byte[] v)
public Binary(String s)
public int compareTo(Binary other)
compareTo in interface Comparable<Binary>public int getLength()
public String getStringValue()
public String getTextEncodingType()
public byte[] getValues()
public void setValues(byte[] values)
Copyright © 2022 The Apache Software Foundation. All rights reserved.