org.msgpack.value
Interface ArrayCursor

All Superinterfaces:
java.lang.Iterable<ValueRef>, ValueRef
All Known Subinterfaces:
ArrayValue
All Known Implementing Classes:
ArrayCursorImpl, ArrayValueImpl

public interface ArrayCursor
extends ValueRef, java.lang.Iterable<ValueRef>

Created on 6/16/14.


Method Summary
 boolean hasNext()
           
 java.util.Iterator<ValueRef> iterator()
           
 ValueRef next()
           
 int size()
           
 void skip()
           
 void skipAll()
          Skips all of the remaining values
 ArrayValue 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

size

int size()

hasNext

boolean hasNext()

next

ValueRef next()

skip

void skip()

skipAll

void skipAll()
Skips all of the remaining values


iterator

java.util.Iterator<ValueRef> iterator()
Specified by:
iterator in interface java.lang.Iterable<ValueRef>

toValue

ArrayValue toValue()
Description copied from interface: ValueRef
Create an immutable value from this reference

Specified by:
toValue in interface ValueRef
Returns: