public class ByteArrayWrapper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
array
The wrapped byte array.
|
| Constructor and Description |
|---|
ByteArrayWrapper()
Creates the wrapper.
|
ByteArrayWrapper(byte[] array)
Creates the wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares two arrays.
|
byte[] |
getArray()
Gets the array.
|
int |
hashCode()
Creates a hash code.
|
void |
setArray(byte[] array)
Sets the array.
|
public ByteArrayWrapper()
public ByteArrayWrapper(byte[] array)
public byte[] getArray()
public void setArray(byte[] array)
array - The array.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object