public class RepeatedBytes extends Object
| Modifier and Type | Field and Description |
|---|---|
protected STORE[] |
array |
protected int |
length |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IN value) |
void |
addAll(IN[] values) |
void |
addAll(IN[] buffer,
int offset,
int length) |
void |
addAll(SubType values) |
protected RepeatedByte[] |
allocateArray0(int desiredSize) |
int |
capacity() |
protected void |
checkIndex(int index) |
SubType |
clear()
Sets the output length to zero and performs any
necessary cleanup of the content.
|
protected void |
clearIndex0(int index) |
void |
copyFrom(IN[] buffer) |
void |
copyFrom(IN[] buffer,
int offset,
int length) |
void |
copyFrom(SubType other) |
protected void |
copyFrom0(RepeatedByte store,
RepeatedByte other) |
protected RepeatedByte |
createEmpty() |
boolean |
equals(Object o) |
protected void |
extendCapacityTo(int desiredSize) |
OUT |
get(int index) |
protected RepeatedByte |
getIndex0(int index) |
protected OUT |
getValueAt(int index) |
int |
hashCode()
Repeated fields have no immutable state and should not
be used in hashing structures.
|
us.hebi.quickbuf.RepeatedField.GenericIterator |
iterator() |
int |
length() |
static RepeatedBytes |
newEmptyInstance() |
STORE |
next() |
int |
remainingCapacity() |
RepeatedType |
reserve(int count)
Makes sure that the internal storage capacity has space for
at least the requested number of entries.
|
void |
set(int index,
IN value) |
protected void |
setIndex0(int index,
byte[] value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static RepeatedBytes newEmptyInstance()
protected void setIndex0(int index,
byte[] value)
protected RepeatedByte getIndex0(int index)
protected void copyFrom0(RepeatedByte store, RepeatedByte other)
protected void clearIndex0(int index)
protected RepeatedByte createEmpty()
protected RepeatedByte[] allocateArray0(int desiredSize)
public final STORE next()
protected OUT getValueAt(int index)
public final OUT get(int index)
public final void set(int index,
IN value)
public final void addAll(IN[] values)
public final void addAll(IN[] buffer,
int offset,
int length)
public final void add(IN value)
public final void copyFrom(IN[] buffer)
public final void copyFrom(IN[] buffer,
int offset,
int length)
public final void copyFrom(SubType other)
public void addAll(SubType values)
public final int capacity()
public final SubType clear()
protected final void extendCapacityTo(int desiredSize)
public final int length()
public final int remainingCapacity()
public us.hebi.quickbuf.RepeatedField.GenericIterator iterator()
public final RepeatedType reserve(int count)
count - number of entries to be addedprotected final void checkIndex(int index)
Copyright © 2019–2024 HEBI Robotics. All rights reserved.