| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Collection<ObjectNode>
A Collection holds all the statements of a particular group. A linked list is created by using pointer statements (REST) to the next item in the collection. The group is closed, where the last statement in the group points to a NIL entry.
See 4.1 RDF Collections.
| Method Summary | |
|---|---|
|  void | add(int index,
    ObjectNode element)Add an $ ObjectNodeto the collection at the given position. | 
|  boolean | add(ObjectNode element)Add an $ ObjectNodeto the collection. | 
|  boolean | addAll(Collection<? extends ObjectNode> c)Add a collection of $ ObjectNodes to this one. | 
|  boolean | addAll(int index,
       Collection<? extends ObjectNode> c)Add a collection of $ ObjectNodes to this one starting at the given
 index. | 
|  void | addFirst(ObjectNode element) | 
|  void | addLast(ObjectNode element) | 
|  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 element) | 
|  Iterator<ObjectNode> | iterator() | 
|  int | lastIndexOf(Object element) | 
|  boolean | remove(Object element) | 
|  boolean | removeAll(Collection<?> c) | 
|  boolean | retainAll(Collection<?> c) | 
|  ObjectNode | set(int index,
    ObjectNode element) | 
| Methods inherited from interface java.util.List | 
|---|
| clear, equals, get, hashCode, isEmpty, listIterator, listIterator, remove, size, subList, toArray, toArray | 
| Methods inherited from interface java.util.Queue | 
|---|
| element, offer, peek, poll, remove | 
| Method Detail | 
|---|
boolean add(ObjectNode element)
ObjectNode to the collection.
add in interface Collection<ObjectNode>add in interface List<ObjectNode>element - object to add.
void add(int index,
         ObjectNode element)
ObjectNode to the collection at the given position.
add in interface List<ObjectNode>index - the index into the collection to add.element - the object to add.boolean addAll(Collection<? extends ObjectNode> c)
ObjectNodes to this one.
addAll in interface Collection<ObjectNode>addAll in interface List<ObjectNode>c - the collection to add.
boolean addAll(int index,
               Collection<? extends ObjectNode> c)
ObjectNodes to this one starting at the given
 index.
addAll in interface List<ObjectNode>index - the index into the collection to start adding.c - the collection to add.
void addFirst(ObjectNode element)
void addLast(ObjectNode element)
boolean contains(Object o)
                 throws IllegalArgumentException
contains in interface Collection<ObjectNode>contains in interface List<ObjectNode>IllegalArgumentException - if the given object is not the correct
                                  type, ObjectNode.
boolean containsAll(Collection<?> c)
                    throws IllegalArgumentException
containsAll in interface Collection<ObjectNode>containsAll in interface List<ObjectNode>c - the collection containing the elements to search.
IllegalArgumentException - if the given object is not the correct
                                  type, Collection.
int indexOf(Object element)
            throws IllegalArgumentException
indexOf in interface List<ObjectNode>IllegalArgumentException - if the given object is not the correct
                                  type, ObjectNode.
int lastIndexOf(Object element)
                throws IllegalArgumentException
lastIndexOf in interface List<ObjectNode>IllegalArgumentException - if the given object is not the correct
                                  type, ObjectNode.Iterator<ObjectNode> iterator()
iterator in interface Collection<ObjectNode>iterator in interface Iterable<ObjectNode>iterator in interface List<ObjectNode>
boolean remove(Object element)
               throws IllegalArgumentException
remove in interface Collection<ObjectNode>remove in interface List<ObjectNode>IllegalArgumentException - if the given object is not the correct
                                  type, ObjectNode.
boolean removeAll(Collection<?> c)
                  throws IllegalArgumentException
removeAll in interface Collection<ObjectNode>removeAll in interface List<ObjectNode>IllegalArgumentException - if the given object is not the correct
                                  type, ObjectNode.
boolean retainAll(Collection<?> c)
                  throws IllegalArgumentException
retainAll in interface Collection<ObjectNode>retainAll in interface List<ObjectNode>IllegalArgumentException - if the given object is not the correct
                                  type, ObjectNode.
ObjectNode set(int index,
               ObjectNode element)
set in interface List<ObjectNode>| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||