|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Sequence<ObjectNode>
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,
ObjectNode o)
|
boolean |
addAll(int index,
Collection<? extends ObjectNode> c)
|
ObjectNode |
get(int index)
|
int |
indexOf(Object o)
|
int |
lastIndexOf(Object o)
|
ListIterator<ObjectNode> |
listIterator()
|
ListIterator<ObjectNode> |
listIterator(int index)
|
ObjectNode |
remove()
Removes the first element in the list (in a FIFO manner). |
ObjectNode |
remove(int index)
|
ObjectNode |
set(int index,
ObjectNode element)
|
List<ObjectNode> |
subList(int fromIndex,
int toIndex)
|
Methods inherited from interface org.jrdf.graph.Container |
---|
add, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, toArray |
Methods inherited from interface java.util.List |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
void add(int index, ObjectNode o)
add
in interface List<ObjectNode>
o
- Add an ObjectNode.boolean addAll(int index, Collection<? extends ObjectNode> c)
addAll
in interface List<ObjectNode>
ObjectNode get(int index)
get
in interface List<ObjectNode>
index
-
int indexOf(Object o) throws IllegalArgumentException
indexOf
in interface List<ObjectNode>
IllegalArgumentException
- if the given object is not the correct
type, ObjectNode.int lastIndexOf(Object o) throws IllegalArgumentException
lastIndexOf
in interface List<ObjectNode>
IllegalArgumentException
- if the given object is not the correct
type, ObjectNode.ListIterator<ObjectNode> listIterator()
listIterator
in interface List<ObjectNode>
ListIterator<ObjectNode> listIterator(int index)
listIterator
in interface List<ObjectNode>
ObjectNode remove()
ObjectNode remove(int index)
remove
in interface List<ObjectNode>
index
-
ObjectNode set(int index, ObjectNode element) throws IllegalArgumentException
set
in interface List<ObjectNode>
IllegalArgumentException
- if the given object is not the correct
type, ObjectNode.List<ObjectNode> subList(int fromIndex, int toIndex)
subList
in interface List<ObjectNode>
fromIndex
- toIndex
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |