Package | Description |
---|---|
cern.colt.list.tlong |
Resizable list holding elements of long data type.
|
cern.colt.matrix.tlong |
Matrix interfaces and factories holding elements of long data type.
|
Modifier and Type | Class and Description |
---|---|
class |
DistinctNumberList
Resizable compressed list holding numbers; based on the fact that a number
from a large list with few distinct values need not take more than
log(distinctValues) bits; implemented with a
MinMaxNumberList.
|
class |
LongArrayList
Resizable list holding
long elements; implemented with arrays. |
class |
MinMaxNumberList
Resizable compressed list holding numbers; based on the fact that a value in
a given interval need not take more than log(max-min+1) bits;
implemented with a cern.colt.bitvector.BitVector.
|
class |
SimpleLongArrayList
Resizable list holding
long elements; implemented with arrays;
not efficient; just to demonstrate which methods you must override to
implement a fully functional list. |
Modifier and Type | Method and Description |
---|---|
AbstractLongList |
LongArrayList.elements(long[] elements)
Sets the receiver's elements to be the specified array (not a copy of
it).
|
AbstractLongList |
AbstractLongList.elements(long[] elements)
Sets the receiver's elements to be the specified array.
|
AbstractLongList |
LongArrayList.partFromTo(int from,
int to)
Returns a new list of the part of the receiver between
from ,
inclusive, and to , inclusive. |
AbstractLongList |
AbstractLongList.partFromTo(int from,
int to)
Returns a new list of the part of the receiver between
from ,
inclusive, and to , inclusive. |
AbstractLongList |
AbstractLongList.times(int times)
Returns a list which is a concatenation of
times times the
receiver. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLongList.addAllOfFromTo(AbstractLongList other,
int from,
int to)
Appends the part of the specified list between
from
(inclusive) and to (inclusive) to the receiver. |
void |
AbstractLongList.beforeInsertAllOfFromTo(int index,
AbstractLongList 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 |
LongArrayList.removeAll(AbstractLongList other)
Removes from the receiver all elements that are contained in the
specified list.
|
boolean |
AbstractLongList.removeAll(AbstractLongList other)
Removes from the receiver all elements that are contained in the
specified list.
|
void |
LongArrayList.replaceFromToWithFrom(int from,
int to,
AbstractLongList other,
int otherFrom)
Replaces a number of elements in the receiver with the same number of
elements of another list.
|
void |
AbstractLongList.replaceFromToWithFrom(int from,
int to,
AbstractLongList other,
int otherFrom)
Replaces a number of elements in the receiver with the same number of
elements of another list.
|
void |
AbstractLongList.replaceFromToWithFromTo(int from,
int to,
AbstractLongList 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 |
LongArrayList.retainAll(AbstractLongList other)
Retains (keeps) only the elements in the receiver that are contained in
the specified other list.
|
boolean |
AbstractLongList.retainAll(AbstractLongList other)
Retains (keeps) only the elements in the receiver that are contained in
the specified other list.
|
Constructor and Description |
---|
LongListAdapter(AbstractLongList content)
Constructs a list backed by the specified content list.
|
Modifier and Type | Method and Description |
---|---|
LongMatrix1D |
LongFactory1D.make(AbstractLongList values)
Constructs a matrix from the values of the given list.
|
Jump to the Parallel Colt Homepage