|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapCursor
Cursor for traversing map value entries. This cursor reports a sequence of key and value pairs.
Method Summary | |
---|---|
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 |
MapValue |
toValue()
Create an immutable value from this reference |
Methods inherited from interface org.msgpack.value.ValueRef |
---|
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, writeTo |
Method Detail |
---|
int size()
boolean hasNext()
ValueRef nextKeyOrValue()
void skipKeyOrValue()
void skipAll()
MapValue toValue()
ValueRef
toValue
in interface ValueRef
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |