|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfnmc.java.util.AbstractCollection
oracle.adfnmc.java.util.AbstractList
oracle.adfnmc.java.util.AbstractSequentialList
public abstract class AbstractSequentialList
AbstractSequentialList is an abstract implementation of the List interface. This implementation does not support adding. A subclass must implement the abstract method listIterator().
| Field Summary |
|---|
| Fields inherited from class oracle.adfnmc.java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
protected |
AbstractSequentialList()
Constructs a new instance of this AbstractSequentialList. |
| Method Summary | |
|---|---|
void |
add(int location,
java.lang.Object object)
Inserts the specified object into this List at the specified location. |
boolean |
addAll(int location,
Collection collection)
Inserts the objects in the specified Collection at the specified location in this List. |
java.lang.Object |
get(int location)
Answers the element at the specified location in this List. |
Iterator |
iterator()
Answers an Iterator on the elements of this List. |
abstract ListIterator |
listIterator(int location)
Answers a ListIterator on the elements of this List. |
java.lang.Object |
remove(int location)
Removes the object at the specified location from this List. |
java.lang.Object |
set(int location,
java.lang.Object object)
Replaces the element at the specified location in this List with the specified object. |
| Methods inherited from class oracle.adfnmc.java.util.AbstractList |
|---|
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList |
| Methods inherited from class oracle.adfnmc.java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.adfnmc.java.util.List |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray |
| Methods inherited from interface oracle.adfnmc.java.util.Collection |
|---|
toArray |
| Constructor Detail |
|---|
protected AbstractSequentialList()
| Method Detail |
|---|
public void add(int location,
java.lang.Object object)
add in interface Listadd in class AbstractListlocation - the index at which to insertobject - the object to add
java.lang.UnsupportedOperationException - when adding to this List is not supported
java.lang.ClassCastException - when the class of the object is inappropriate for this List
java.lang.IllegalArgumentException - when the object cannot be added to this List
java.lang.IndexOutOfBoundsException - when location < 0 || >= size()
java.lang.NullPointerException - when the object is null and this List does not support null elements
public boolean addAll(int location,
Collection collection)
addAll in interface ListaddAll in class AbstractListlocation - the index at which to insertcollection - the Collection of objects
java.lang.UnsupportedOperationException - when adding to this List is not supported
java.lang.ClassCastException - when the class of an object is inappropriate for this List
java.lang.IllegalArgumentException - when an object cannot be added to this List
java.lang.IndexOutOfBoundsException - when location < 0 || >= size()public java.lang.Object get(int location)
get in interface Listget in class AbstractListlocation - the index of the element to return
java.lang.IndexOutOfBoundsException - when location < 0 || >= size()public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Listiterator in class AbstractListIteratorpublic abstract ListIterator listIterator(int location)
listIterator in interface ListlistIterator in class AbstractListlocation - the index at which to start the iteration
java.lang.IndexOutOfBoundsException - when location < 0 || >= size()ListIteratorpublic java.lang.Object remove(int location)
remove in interface Listremove in class AbstractListlocation - the index of the object to remove
java.lang.UnsupportedOperationException - when removing from this List is not supported
java.lang.IndexOutOfBoundsException - when location < 0 || >= size()
public java.lang.Object set(int location,
java.lang.Object object)
set in interface Listset in class AbstractListlocation - the index at which to put the specified objectobject - the object to add
java.lang.UnsupportedOperationException - when replacing elements in this List is not supported
java.lang.ClassCastException - when the class of an object is inappropriate for this List
java.lang.IllegalArgumentException - when an object cannot be added to this List
java.lang.IndexOutOfBoundsException - when location < 0 || >= size()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||