Interface LongsModifiable
-
- All Superinterfaces:
Longs
- All Known Subinterfaces:
SortedLongsModifiable
- All Known Implementing Classes:
LongsArray,SortedLongsArray
public interface LongsModifiable extends Longs
- Author:
- hogye
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappend(long v)voidappend(long[] vs)voidappend(long[] vs, int from, int to)voidappend(Longs vs)voidappend(Longs vs, int from, int to)voidappend(LongBuffer vs)voidappend(LongBuffer vs, int c)voidclear()voidcompact()LongsModifiablecopy()voidensureCapacity(int minCapacity)voidinsert(int i, long v)voidinsert(int i, long[] vs)voidinsert(int i, long[] vs, int from, int to)voidinsert(int i, Longs vs)voidinsert(int i, Longs vs, int from, int to)voidinsert(int i, LongBuffer vs)voidinsert(int i, LongBuffer vs, int c)voidprepend(long v)voidprepend(long[] vs)voidprepend(long[] vs, int from, int to)voidprepend(Longs vs)voidprepend(Longs vs, int from, int to)voidprepend(LongBuffer vs)voidprepend(LongBuffer vs, int c)voidremove(long 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, long v)voidset(int i, long[] vs)voidset(int i, long[] vs, int from, int to)
-
-
-
Method Detail
-
set
void set(int i, long v)
-
set
void set(int i, long[] vs)
-
set
void set(int i, long[] vs, int from, int to)
-
insert
void insert(int i, long v)
-
insert
void insert(int i, long[] vs)
-
insert
void insert(int i, Longs vs)
-
insert
void insert(int i, LongBuffer vs)
-
insert
void insert(int i, long[] vs, int from, int to)
-
insert
void insert(int i, Longs vs, int from, int to)
-
insert
void insert(int i, LongBuffer vs, int c)
-
append
void append(long v)
-
append
void append(long[] vs)
-
append
void append(Longs vs)
-
append
void append(LongBuffer vs)
-
append
void append(long[] vs, int from, int to)
-
append
void append(Longs vs, int from, int to)
-
append
void append(LongBuffer vs, int c)
-
prepend
void prepend(long v)
-
prepend
void prepend(long[] vs)
-
prepend
void prepend(Longs vs)
-
prepend
void prepend(LongBuffer vs)
-
prepend
void prepend(long[] vs, int from, int to)
-
prepend
void prepend(Longs vs, int from, int to)
-
prepend
void prepend(LongBuffer vs, int c)
-
remove
void remove(long 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
LongsModifiable copy()
-
-