All Packages Class Hierarchy This Package Previous Next Index
Class sdoOracle.ObjectList
java.lang.Object
|
+----sdoOracle.ObjectList
- public class ObjectList
- extends Object
Class ObjectList defines a generic list of objects.
- See Also:
- Node
-
ObjectList()
- Constructs an empty list of objects.
-
add(Object)
- Adds a new object to this list.
-
clear()
- Clears the list content.
-
first()
- Returns the first object.
-
getItem(int)
- Returns the Object related with input index.
-
item()
- Returns the current object.
-
next()
- Returns the next object.
-
remove(Object)
- Removes an existing object from this list.
-
size()
- Returns the actual number of objects.
-
start()
- Makes first object as the current item.
ObjectList
public ObjectList()
- Constructs an empty list of objects.
add
public void add(Object obj)
- Adds a new object to this list.
- Parameters:
- obj - input Object to be added.
remove
public void remove(Object obj)
- Removes an existing object from this list.
- Parameters:
- obj - input Object to be removed.
start
public void start()
- Makes first object as the current item.
first
public Object first()
- Returns the first object.
- Returns:
- returns an Object or null.
next
public Object next()
- Returns the next object.
- Returns:
- returns an Object or null.
clear
public void clear()
- Clears the list content.
item
public Object item()
- Returns the current object.
- Returns:
- returns an Object or null.
getItem
public Object getItem(int index)
- Returns the Object related with input index.
- Parameters:
- index - position in the list (starts at 0).
- Returns:
- returns an Object or null.
size
public int size()
- Returns the actual number of objects.
- Returns:
- returns an integer value.
All Packages Class Hierarchy This Package Previous Next Index