org.jrdf.graph.mem
Class SequenceImpl
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.jrdf.graph.mem.SequenceImpl
- All Implemented Interfaces:
- Cloneable, Collection, Container, List, RandomAccess, Sequence, Serializable
- public class SequenceImpl
- extends ArrayList
- implements Sequence
An implementation of Sequence.
- Version:
- $Revision: 1.1 $
- Author:
- Andrew Newman
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
clear, clone, ensureCapacity, get, isEmpty, remove, removeRange, size, toArray, toArray, trimToSize |
| Methods inherited from interface java.util.List |
clear, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, size, subList, toArray, toArray |
SequenceImpl
public SequenceImpl()
add
public void add(int index,
Object o)
throws IllegalArgumentException
- Description copied from interface:
Sequence
-
- Specified by:
add in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, ObjectNode.
add
public boolean add(Object o)
throws IllegalArgumentException
- Description copied from interface:
Container
-
- Specified by:
add in interface Container
- Throws:
IllegalArgumentException - if the given object is not the correct
type, ObjectNode.
addAll
public boolean addAll(Collection c)
throws IllegalArgumentException
- Description copied from interface:
Sequence
-
- Specified by:
addAll in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, Sequence.
addAll
public boolean addAll(int index,
Collection c)
throws IllegalArgumentException
- Description copied from interface:
Sequence
-
- Specified by:
addAll in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, Sequence.
contains
public boolean contains(Object o)
- Description copied from interface:
Sequence
-
- Specified by:
contains in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, ObjectNode.
containsAll
public boolean containsAll(Collection c)
- Description copied from interface:
Sequence
-
- Specified by:
containsAll in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, Sequence.
indexOf
public int indexOf(Object o)
throws IllegalArgumentException
- Description copied from interface:
Sequence
-
- Specified by:
indexOf in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, ObjectNode.
lastIndexOf
public int lastIndexOf(Object o)
throws IllegalArgumentException
- Description copied from interface:
Sequence
-
- Specified by:
lastIndexOf in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, ObjectNode.
remove
public boolean remove(Object o)
throws IllegalArgumentException
- Description copied from interface:
Container
-
- Specified by:
remove in interface Container
- Throws:
IllegalArgumentException - if the given object is not the correct
type, ObjectNode.
removeAll
public boolean removeAll(Collection c)
throws IllegalArgumentException
- Description copied from interface:
Sequence
-
- Specified by:
removeAll in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, Sequence.
retainAll
public boolean retainAll(Collection c)
throws IllegalArgumentException
- Description copied from interface:
Sequence
-
- Specified by:
retainAll in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, Sequence.
set
public Object set(int index,
Object element)
throws IllegalArgumentException
- Description copied from interface:
Sequence
-
- Specified by:
set in interface Sequence
- Throws:
IllegalArgumentException - if the given object is not the correct
type, ObjectNode.