|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AbstractShortList | |
---|---|
org.apache.mahout.math.list | Resizable lists holding objects or primitive data types such as int, double, etc. |
Uses of AbstractShortList in org.apache.mahout.math.list |
---|
Subclasses of AbstractShortList in org.apache.mahout.math.list | |
---|---|
class |
ShortArrayList
Resizable list holding short elements; implemented with arrays. |
Methods in org.apache.mahout.math.list that return AbstractShortList | |
---|---|
AbstractShortList |
ShortArrayList.elements(short[] elements)
Sets the receiver's elements to be the specified array (not a copy of it). |
AbstractShortList |
AbstractShortList.elements(short[] elements)
Sets the receiver's elements to be the specified array. |
AbstractShortList |
ShortArrayList.partFromTo(int from,
int to)
Returns a new list of the part of the receiver between from , inclusive, and to ,
inclusive. |
AbstractShortList |
AbstractShortList.partFromTo(int from,
int to)
Returns a new list of the part of the receiver between from , inclusive, and to ,
inclusive. |
AbstractShortList |
AbstractShortList.times(int times)
Returns a list which is a concatenation of times times the receiver. |
Methods in org.apache.mahout.math.list with parameters of type AbstractShortList | |
---|---|
void |
AbstractShortList.addAllOf(AbstractShortList other)
Appends all elements of the specified list to the receiver. |
void |
AbstractShortList.addAllOfFromTo(AbstractShortList other,
int from,
int to)
Appends the part of the specified list between from (inclusive) and to (inclusive) to the
receiver. |
void |
AbstractShortList.beforeInsertAllOfFromTo(int index,
AbstractShortList other,
int from,
int to)
Inserts the part of the specified list between otherFrom (inclusive) and otherTo
(inclusive) before the specified position into the receiver. |
boolean |
ShortArrayList.removeAll(AbstractShortList other)
Removes from the receiver all elements that are contained in the specified list. |
boolean |
AbstractShortList.removeAll(AbstractShortList other)
Removes from the receiver all elements that are contained in the specified list. |
void |
ShortArrayList.replaceFromToWithFrom(int from,
int to,
AbstractShortList other,
int otherFrom)
Replaces a number of elements in the receiver with the same number of elements of another list. |
void |
AbstractShortList.replaceFromToWithFrom(int from,
int to,
AbstractShortList other,
int otherFrom)
Replaces a number of elements in the receiver with the same number of elements of another list. |
void |
AbstractShortList.replaceFromToWithFromTo(int from,
int to,
AbstractShortList other,
int otherFrom,
int otherTo)
Replaces the part between from (inclusive) and to (inclusive) with the other list's part
between otherFrom and otherTo . |
boolean |
ShortArrayList.retainAll(AbstractShortList other)
Retains (keeps) only the elements in the receiver that are contained in the specified other list. |
boolean |
AbstractShortList.retainAll(AbstractShortList other)
Retains (keeps) only the elements in the receiver that are contained in the specified other list. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |