Interface ObjectsModifiable
-
- All Superinterfaces:
Objects
- All Known Implementing Classes:
ObjectsArray
public interface ObjectsModifiable extends Objects
- Author:
- hogye
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappend(Objects vs)voidappend(Objects vs, int from, int to)voidappend(Object v)voidappend(Object[] vs)voidappend(Object[] vs, int from, int to)voidclear()voidcompact()ObjectsModifiablecopy()voidensureCapacity(int minCapacity)voidinsert(int i, Objects vs)voidinsert(int i, Objects vs, int from, int to)voidinsert(int i, Object v)voidinsert(int i, Object[] vs)voidinsert(int i, Object[] vs, int from, int to)voidprepend(Objects vs)voidprepend(Objects vs, int from, int to)voidprepend(Object v)voidprepend(Object[] vs)voidprepend(Object[] vs, int from, int to)voidremove(Object v)Removes a single copy of the specified value.voidremoveIndex(int index)Remove value at index.voidremoveRange(int from, int to)Removes values starting at index from (inclusive) to index to (exclusive).voidset(int i, Object v)voidset(int i, Object[] vs)voidset(int i, Object[] vs, int from, int to)
-
-
-
Method Detail
-
set
void set(int i, Object v)
-
set
void set(int i, Object[] vs)
-
set
void set(int i, Object[] vs, int from, int to)
-
insert
void insert(int i, Object v)
-
insert
void insert(int i, Object[] vs)
-
insert
void insert(int i, Objects vs)
-
insert
void insert(int i, Object[] vs, int from, int to)
-
insert
void insert(int i, Objects vs, int from, int to)
-
append
void append(Object v)
-
append
void append(Object[] vs)
-
append
void append(Objects vs)
-
append
void append(Object[] vs, int from, int to)
-
append
void append(Objects vs, int from, int to)
-
prepend
void prepend(Object v)
-
prepend
void prepend(Object[] vs)
-
prepend
void prepend(Objects vs)
-
prepend
void prepend(Object[] vs, int from, int to)
-
prepend
void prepend(Objects vs, int from, int to)
-
remove
void remove(Object v)
Removes a single copy of the specified value. If multiple copies are present, there is no guarantee which one will be removed.
-
removeRange
void removeRange(int from, int to)Removes values starting at index from (inclusive) to index to (exclusive). All other values with indices greater than or equal to index to have their index in the array decreased by to-from and the size of the array is decreased by to-from.
-
removeIndex
void removeIndex(int index)
Remove value at index. All other values with indices greater than index have their index in the array decreased by one and the size of the array is decreased by one.
-
clear
void clear()
-
ensureCapacity
void ensureCapacity(int minCapacity)
-
compact
void compact()
-
copy
ObjectsModifiable copy()
-
-