Package | Description |
---|---|
cern.colt.list |
Resizable lists holding objects or primitive data types such as int,
double, etc.
|
cern.colt.list.adapter |
List adapters that make Colt lists compatible with the JDK 1.2 Collections Framework.
|
Modifier and Type | Class and Description |
---|---|
class |
IntArrayList
Resizable list holding
int elements; implemented with arrays. |
Modifier and Type | Method and Description |
---|---|
AbstractIntList |
AbstractIntList.elements(int[] elements)
Sets the receiver's elements to be the specified array.
|
AbstractIntList |
IntArrayList.elements(int[] elements)
Sets the receiver's elements to be the specified array (not a copy of it).
|
AbstractIntList |
AbstractIntList.partFromTo(int from,
int to)
Returns a new list of the part of the receiver between
from , inclusive, and to , inclusive. |
AbstractIntList |
IntArrayList.partFromTo(int from,
int to)
Returns a new list of the part of the receiver between
from , inclusive, and to , inclusive. |
AbstractIntList |
AbstractIntList.times(int times)
Returns a list which is a concatenation of
times times the receiver. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractIntList.addAllOfFromTo(AbstractIntList other,
int from,
int to)
Appends the part of the specified list between
from (inclusive) and to (inclusive) to the receiver. |
void |
AbstractIntList.beforeInsertAllOfFromTo(int index,
AbstractIntList 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 |
AbstractIntList.removeAll(AbstractIntList other)
Removes from the receiver all elements that are contained in the specified list.
|
boolean |
IntArrayList.removeAll(AbstractIntList other)
Removes from the receiver all elements that are contained in the specified list.
|
void |
AbstractIntList.replaceFromToWithFrom(int from,
int to,
AbstractIntList other,
int otherFrom)
Replaces a number of elements in the receiver with the same number of elements of another list.
|
void |
IntArrayList.replaceFromToWithFrom(int from,
int to,
AbstractIntList other,
int otherFrom)
Replaces a number of elements in the receiver with the same number of elements of another list.
|
void |
AbstractIntList.replaceFromToWithFromTo(int from,
int to,
AbstractIntList 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 |
AbstractIntList.retainAll(AbstractIntList other)
Retains (keeps) only the elements in the receiver that are contained in the specified other list.
|
boolean |
IntArrayList.retainAll(AbstractIntList other)
Retains (keeps) only the elements in the receiver that are contained in the specified other list.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractIntList |
IntListAdapter.content |
Constructor and Description |
---|
IntListAdapter(AbstractIntList content)
Constructs a list backed by the specified content list.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.