Interface FloatsModifiable
-
- All Superinterfaces:
Floats
- All Known Subinterfaces:
SortedFloatsModifiable
- All Known Implementing Classes:
FloatsArray,SortedFloatsArray
public interface FloatsModifiable extends Floats
- Author:
- hogye
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappend(float v)voidappend(float[] vs)voidappend(float[] vs, int from, int to)voidappend(Floats vs)voidappend(Floats vs, int from, int to)voidappend(FloatBuffer vs)voidappend(FloatBuffer vs, int c)voidclear()voidcompact()FloatsModifiablecopy()voidensureCapacity(int minCapacity)voidinsert(int i, float v)voidinsert(int i, float[] vs)voidinsert(int i, float[] vs, int from, int to)voidinsert(int i, Floats vs)voidinsert(int i, Floats vs, int from, int to)voidinsert(int i, FloatBuffer vs)voidinsert(int i, FloatBuffer vs, int c)voidprepend(float v)voidprepend(float[] vs)voidprepend(float[] vs, int from, int to)voidprepend(Floats vs)voidprepend(Floats vs, int from, int to)voidprepend(FloatBuffer vs)voidprepend(FloatBuffer vs, int c)voidremove(float 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, float v)voidset(int i, float[] vs)voidset(int i, float[] vs, int from, int to)
-
-
-
Method Detail
-
set
void set(int i, float v)
-
set
void set(int i, float[] vs)
-
set
void set(int i, float[] vs, int from, int to)
-
insert
void insert(int i, float v)
-
insert
void insert(int i, float[] vs)
-
insert
void insert(int i, Floats vs)
-
insert
void insert(int i, FloatBuffer vs)
-
insert
void insert(int i, float[] vs, int from, int to)
-
insert
void insert(int i, Floats vs, int from, int to)
-
insert
void insert(int i, FloatBuffer vs, int c)
-
append
void append(float v)
-
append
void append(float[] vs)
-
append
void append(Floats vs)
-
append
void append(FloatBuffer vs)
-
append
void append(float[] vs, int from, int to)
-
append
void append(Floats vs, int from, int to)
-
append
void append(FloatBuffer vs, int c)
-
prepend
void prepend(float v)
-
prepend
void prepend(float[] vs)
-
prepend
void prepend(Floats vs)
-
prepend
void prepend(FloatBuffer vs)
-
prepend
void prepend(float[] vs, int from, int to)
-
prepend
void prepend(Floats vs, int from, int to)
-
prepend
void prepend(FloatBuffer vs, int c)
-
remove
void remove(float 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
FloatsModifiable copy()
-
-