public interface Aggregate<T> extends Instance, List<T>
Modifier and Type | Method and Description |
---|---|
void |
addObject(int index,
Object element)
Insert a value at a specified index
|
void |
addObject(Object element)
Insert a value to the end of the aggregate
|
void |
setObject(int index,
Object element)
Set the value at a specified index
|
void |
trimToSize()
Update the size of the buffer to the minimum size required by the data.
|
void setObject(int index, Object element)
index
- The index in set.element
- The value to set.void addObject(Object element)
element
- The value to set.void addObject(int index, Object element)
index
- The index in set.element
- The value to set.void trimToSize()