|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
org.jrdf.graph.mem.CollectionImpl
A Collection all the statements of a particular group.
| Field Summary |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
CollectionImpl()
{@inheritDoc} |
|
| Method Summary | |
void |
add(int index,
Object element)
Add an $ ObjectNode to the collection at the given position. |
boolean |
add(Object o)
Add an $ ObjectNode to the collection. |
boolean |
addAll(Collection c)
Add a collection of $ ObjectNodes to this one. |
boolean |
addAll(int index,
Collection c)
Add a collection of $ ObjectNodes to this one starting at the given
index. |
void |
addFirst(Object o)
Add an $ ObjectNode to the start of the collection. |
void |
addLast(Object o)
|
boolean |
contains(Object o)
Search the collection and return if the object was found or not. |
boolean |
containsAll(Collection c)
Search the collection and return if all of the given objects were found. |
int |
indexOf(Object o)
|
int |
lastIndexOf(Object o)
|
boolean |
remove(Object o)
|
boolean |
removeAll(Collection c)
|
boolean |
retainAll(Collection c)
|
Object |
set(int index,
Object element)
|
| Methods inherited from class java.util.LinkedList |
clear, clone, get, getFirst, getLast, listIterator, remove, removeFirst, removeLast, size, toArray, toArray |
| Methods inherited from class java.util.AbstractSequentialList |
iterator |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, listIterator, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
isEmpty, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jrdf.graph.Collection |
iterator |
| Methods inherited from interface java.util.List |
equals, hashCode, isEmpty, iterator, listIterator, subList |
| Constructor Detail |
public CollectionImpl()
| Method Detail |
public void add(int index,
Object element)
throws IllegalArgumentException
CollectionObjectNode to the collection at the given position.
add in interface CollectionIllegalArgumentException
public boolean add(Object o)
throws IllegalArgumentException
CollectionObjectNode to the collection.
add in interface CollectionIllegalArgumentException
public boolean addAll(Collection c)
throws IllegalArgumentException
CollectionObjectNodes to this one.
addAll in interface CollectionIllegalArgumentException
public boolean addAll(int index,
Collection c)
throws IllegalArgumentException
CollectionObjectNodes to this one starting at the given
index.
addAll in interface CollectionIllegalArgumentException - if the given object is not the correct
type, Collection.public void addFirst(Object o)
CollectionObjectNode to the start of the collection.
addFirst in interface CollectionIllegalArgumentException - if the given object is not the correct
type, ObjectNode.public void addLast(Object o)
addLast in interface CollectionIllegalArgumentException - if the given object is not the correct
type, ObjectNode.public boolean contains(Object o)
Collection
contains in interface CollectionIllegalArgumentException - if the given object is not the correct
type, ObjectNode.
public int indexOf(Object o)
throws IllegalArgumentException
indexOf in interface CollectionIllegalArgumentException - if the given object is not the correct
type, ObjectNode.
public int lastIndexOf(Object o)
throws IllegalArgumentException
lastIndexOf in interface CollectionIllegalArgumentException - if the given object is not the correct
type, ObjectNode.
public boolean remove(Object o)
throws IllegalArgumentException
remove in interface CollectionIllegalArgumentException - if the given object is not the correct
type.public boolean containsAll(Collection c)
Collection
containsAll in interface CollectionIllegalArgumentException - if the given object is not the correct
type, Collection.
public boolean removeAll(Collection c)
throws IllegalArgumentException
removeAll in interface CollectionIllegalArgumentException - if the given object is not the correct
type, Collection.
public boolean retainAll(Collection c)
throws IllegalArgumentException
retainAll in interface CollectionIllegalArgumentException - if the given object is not the correct
type, Collection.
public Object set(int index,
Object element)
throws IllegalArgumentException
set in interface CollectionIllegalArgumentException - if the given object is not the correct
type, ObjectNode.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||