public abstract class AbstractCollection extends PersistentObject
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 FormserialVersionUID| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCollection()
Makes this class non instantiable, but still let's others inherit from it.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
cloneprotected AbstractCollection()
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.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.