Package io.camunda.zeebe.msgpack.value
Class ArrayValue<T extends BaseValue>
java.lang.Object
io.camunda.zeebe.msgpack.value.BaseValue
io.camunda.zeebe.msgpack.value.ArrayValue<T>
- All Implemented Interfaces:
Recyclable,Iterable<T>,Iterator<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd()booleanintinthashCode()booleanhasNext()iterator()Please be aware that iterating over anArrayValueis not thread-safe.next()Please be aware that iterating over anArrayValueis not thread-safe.voidread(MsgPackReader reader) voidremove()voidreset()voidwrite(MsgPackWriter writer) voidwriteJSON(StringBuilder builder) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ArrayValue
-
-
Method Details
-
reset
public void reset()- Specified by:
resetin interfaceRecyclable
-
writeJSON
-
write
-
read
-
getEncodedLength
public int getEncodedLength()- Specified by:
getEncodedLengthin classBaseValue
-
iterator
Please be aware that iterating over anArrayValueis not thread-safe. Iterating over this will modify the buffer. Multiple threads iterating over the same object will result in exceptions! -
hasNext
public boolean hasNext() -
next
Please be aware that iterating over anArrayValueis not thread-safe. Iterating over this will modify the buffer. Multiple threads iterating over the same object will result in exceptions! -
remove
public void remove() -
add
-
hashCode
public int hashCode() -
equals
-