public class StringValueImpl extends AbstractValue implements StringValue
NUMBER_TYPE_MASK, RAW_TYPE_MASK
Constructor and Description |
---|
StringValueImpl(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ValueVisitor visitor) |
boolean |
equals(java.lang.Object o) |
ValueType |
getValueType() |
int |
hashCode() |
byte[] |
toByteArray() |
java.nio.ByteBuffer |
toByteBuffer() |
MessageBuffer |
toMessageBuffer() |
java.lang.String |
toString() |
StringValue |
toValue()
Create an immutable value from this reference
|
void |
writeTo(MessagePacker pk) |
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
public ValueType getValueType()
getValueType
in interface ValueRef
public byte[] toByteArray()
toByteArray
in interface RawValue
public MessageBuffer toMessageBuffer()
toMessageBuffer
in interface RawValue
public java.lang.String toString()
public java.nio.ByteBuffer toByteBuffer()
toByteBuffer
in interface RawValue
public void writeTo(MessagePacker pk) throws java.io.IOException
public void accept(ValueVisitor visitor)
public StringValue toValue()
ValueRef
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object