|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.colt.PersistentObject
cern.colt.list.AbstractCollection
public abstract class AbstractCollection
Abstract base class for resizable collections holding objects or primitive
data types such as int
, float
, etc. First see the
package summary and javadoc tree view to get the broad picture.
Note that this implementation is not synchronized.
ArrayList
,
Vector
,
Arrays
,
Serialized FormMethod Summary | |
---|---|
abstract void |
clear()
Removes all elements from the receiver. |
boolean |
isEmpty()
Tests if the receiver has no elements. |
abstract int |
size()
Returns the number of elements contained in the receiver. |
abstract ArrayList |
toList()
Returns a java.util.ArrayList containing all the elements in
the receiver. |
String |
toString()
Returns a string representation of the receiver, containing the String representation of each element. |
Methods inherited from class cern.colt.PersistentObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public abstract void clear()
public boolean isEmpty()
true
if the receiver has no elements;
false
otherwise.public abstract int size()
public abstract ArrayList toList()
java.util.ArrayList
containing all the elements in
the receiver.
public String toString()
toString
in class Object
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |