NUMBER_TYPE_MASK, RAW_TYPE_MASK
Constructor and Description |
---|
MapValueImpl(Value[] array) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ValueVisitor visitor) |
static MapValue |
empty() |
boolean |
equals(java.lang.Object o) |
ValueType |
getValueType() |
int |
hashCode() |
boolean |
hasNext()
Test whether this cursor can point to a next key or value.
|
ValueRef |
nextKeyOrValue()
Retrieves a reference to the next key or value.
|
int |
size() |
void |
skipAll()
Skips all of the remaining keys and values.
|
void |
skipKeyOrValue()
Skips a next key or value
|
Value[] |
toKeyValueSeq() |
java.util.Map<Value,Value> |
toMap() |
java.lang.String |
toString() |
MapValue |
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 MapValueImpl(Value[] array)
public static MapValue empty()
public ValueType getValueType()
getValueType
in interface ValueRef
public Value[] toKeyValueSeq()
toKeyValueSeq
in interface MapValue
public boolean hasNext()
MapCursor
public ValueRef nextKeyOrValue()
MapCursor
nextKeyOrValue
in interface MapCursor
public void skipKeyOrValue()
MapCursor
skipKeyOrValue
in interface MapCursor
public void skipAll()
MapCursor
public void writeTo(MessagePacker pk) throws java.io.IOException
public void accept(ValueVisitor visitor)
public MapValue toValue()
ValueRef
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object