public abstract class RawValueImpl extends AbstractValue implements RawValue
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
byteBuffer |
NUMBER_TYPE_MASK, RAW_TYPE_MASK
Constructor and Description |
---|
RawValueImpl(java.nio.ByteBuffer byteBuffer) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
byte[] |
toByteArray() |
java.nio.ByteBuffer |
toByteBuffer() |
MessageBuffer |
toMessageBuffer() |
java.lang.String |
toString() |
RawValue |
toValue()
Create an immutable value from this reference
|
void |
writeTo(MessagePacker packer) |
isRef
as, as, asArrayValue, asBinary, asBoolean, asExtended, asFloat, asInteger, asMapValue, asNil, asNumber, asRaw, asString, getArrayCursor, getMapCursor, isArray, isBinary, isBoolean, isExtended, isFloat, isInteger, isMap, isNil, isNumber, isRaw, isString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asArrayValue, asMapValue
accept, asBinary, asBoolean, asExtended, asFloat, asInteger, asNil, asNumber, asRaw, asString, getArrayCursor, getMapCursor, getValueType, isArray, isBinary, isBoolean, isExtended, isFloat, isInteger, isMap, isNil, isNumber, isRaw, isRef, isString
public byte[] toByteArray()
toByteArray
in interface RawValue
public RawValue toValue()
ValueRef
public java.nio.ByteBuffer toByteBuffer()
toByteBuffer
in interface RawValue
public MessageBuffer toMessageBuffer()
toMessageBuffer
in interface RawValue
public java.lang.String toString()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void writeTo(MessagePacker packer) throws java.io.IOException