@Immutable @ThreadSafe @ProviderType public class ByteArrayValue extends java.lang.Object implements TypedValue<byte[]>
Byte[]
value as a TypedValue
.Constructor and Description |
---|
ByteArrayValue(byte[] value)
Instantiates a new byte array value.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TypedValue<byte[]> otherTypedValue) |
boolean |
equals(java.lang.Object obj) |
DataType |
getType()
Returns the data type of the represented value
|
byte[] |
getValue()
Returns the actual value as represented
|
int |
hashCode() |
java.lang.String |
toString() |
public ByteArrayValue(byte[] value)
value
- the valuejava.lang.NullPointerException
- if the argument is nullpublic int compareTo(TypedValue<byte[]> otherTypedValue)
compareTo
in interface java.lang.Comparable<TypedValue<byte[]>>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public DataType getType()
getType
in interface TypedValue<byte[]>
public byte[] getValue()
getValue
in interface TypedValue<byte[]>
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object