|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A Sequence is a group of statements that are kept in an orderd list. The order in which the objects go in dictates how they are returned in a First In, First Out manner.
| Method Summary | |
void |
add(int index,
Object o)
|
boolean |
addAll(Collection c)
|
boolean |
addAll(int index,
Collection c)
|
boolean |
contains(Object o)
|
boolean |
containsAll(Collection c)
|
int |
indexOf(Object o)
|
int |
lastIndexOf(Object o)
|
boolean |
removeAll(Collection c)
|
boolean |
retainAll(Collection c)
|
Object |
set(int index,
Object element)
|
| Methods inherited from interface org.jrdf.graph.Container |
add, remove |
| Methods inherited from interface java.util.Collection |
clear, equals, hashCode, isEmpty, iterator, size, toArray, toArray |
| Methods inherited from interface java.util.List |
add, clear, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, size, subList, toArray, toArray |
| Method Detail |
public void add(int index,
Object o)
throws IllegalArgumentException
add in interface ListIllegalArgumentException - if the given object is not the correct
type, ObjectNode.
public boolean addAll(Collection c)
throws IllegalArgumentException
addAll in interface CollectionIllegalArgumentException - if the given object is not the correct
type, Sequence.
public boolean addAll(int index,
Collection c)
throws IllegalArgumentException
addAll in interface ListIllegalArgumentException - if the given object is not the correct
type, Sequence.public boolean contains(Object o)
contains in interface CollectionIllegalArgumentException - if the given object is not the correct
type, ObjectNode.public boolean containsAll(Collection c)
containsAll in interface CollectionIllegalArgumentException - if the given object is not the correct
type, Sequence.
public int indexOf(Object o)
throws IllegalArgumentException
indexOf in interface ListIllegalArgumentException - if the given object is not the correct
type, ObjectNode.
public int lastIndexOf(Object o)
throws IllegalArgumentException
lastIndexOf in interface ListIllegalArgumentException - if the given object is not the correct
type, ObjectNode.
public boolean removeAll(Collection c)
throws IllegalArgumentException
removeAll in interface CollectionIllegalArgumentException - if the given object is not the correct
type, Sequence.
public boolean retainAll(Collection c)
throws IllegalArgumentException
retainAll in interface CollectionIllegalArgumentException - if the given object is not the correct
type, Sequence.
public Object set(int index,
Object element)
throws IllegalArgumentException
set in interface ListIllegalArgumentException - 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 | ||||||||||