org.jfree.layouting.util
public class ObjectList extends AbstractObjectList
When cloning, the objects in the list are NOT cloned, only the references.
Constructor Summary | |
---|---|
ObjectList()
Default constructor. | |
ObjectList(int initialCapacity)
Creates a new list.
|
Method Summary | |
---|---|
Object | get(int index)
Returns the object at the specified index, if there is one, or null .
|
int | indexOf(Object object)
Returns the index of the specified object, or -1 if the object is not in the list.
|
void | set(int index, Object object)
Sets an object reference (overwriting any existing object).
|
Parameters: initialCapacity the initial capacity.
null
.
Parameters: index the object index.
Returns: The object or null
.
Parameters: object the object.
Returns: The index or -1.
Parameters: index the object index. object the object (null
permitted).