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>,RandomAccess
public final class ArrayValue<T extends BaseValue>
extends BaseValue
implements Iterable<T>, RandomAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd()add(int index) booleanget(int index) intinthashCode()booleanisEmpty()iterator()voidread(MsgPackReader reader) remove(int index) voidreset()intsize()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, spliterator
-
Constructor Details
-
ArrayValue
-
-
Method Details
-
reset
public void reset()- Specified by:
resetin interfaceRecyclable
-
isEmpty
public boolean isEmpty() -
writeJSON
-
write
-
read
-
getEncodedLength
public int getEncodedLength()- Specified by:
getEncodedLengthin classBaseValue
-
iterator
-
hashCode
public int hashCode() -
equals
-
add
-
add
-
get
-
remove
-
size
public int size()
-