pobs.action
Class PVector

java.lang.Object
  extended byjava.util.AbstractCollection
      extended bypobs.action.PAbstractCollection
          extended bypobs.action.PAbstractList
              extended bypobs.action.PVector
All Implemented Interfaces:
java.util.Collection, java.util.List, PCollection, PList
Direct Known Subclasses:
PStack

public class PVector
extends PAbstractList

Implements the methods of the Abstractlist interface and the action generator methods of the interface analogue to the Vectorclass.

Author:
Martijn W. van der Lee, Martijn W. van der Lee

Constructor Summary
PVector()
          Insert the method's description here.
PVector(java.util.Collection c)
          Insert the method's description here.
 
Method Summary
 void add(int i, java.lang.Object o)
           
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection c)
           
 boolean addAll(int i, java.util.Collection c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection c)
           
 java.lang.Object get(int i)
           
 java.util.Vector getCollection()
          Insert the method's description here.
 int indexOf(java.lang.Object o)
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 int lastIndexOf(java.lang.Object o)
           
 java.util.ListIterator listIterator()
           
 java.util.ListIterator listIterator(int i)
           
 java.lang.Object remove(int i)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection c)
           
 boolean retainAll(java.util.Collection c)
           
 java.lang.Object set(int i, java.lang.Object o)
           
 int size()
          Insert the method's description here.
 java.util.List subList(int fromIndex, int toIndex)
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] o)
           
 
Methods inherited from class pobs.action.PAbstractList
addAction, addAction, addAction, addAction, addAllAction, addAllAction, removeAction, removeAction, setAction, setAction
 
Methods inherited from class pobs.action.PAbstractCollection
addAction, addAction, addAllAction, clearAction, removeAction, removeAction, removeAllAction, retainAllAction
 
Methods inherited from class java.util.AbstractCollection
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 
Methods inherited from interface pobs.action.PCollection
addAction, addAction, addAllAction, clearAction, removeAction, removeAction, removeAllAction, retainAllAction
 

Constructor Detail

PVector

public PVector()
Insert the method's description here.


PVector

public PVector(java.util.Collection c)
Insert the method's description here.

Method Detail

getCollection

public java.util.Vector getCollection()
Insert the method's description here.

Returns:
java.util.Vector

iterator

public java.util.Iterator iterator()
See Also:
PCollection

size

public int size()
Insert the method's description here.

Returns:
int

clear

public void clear()

isEmpty

public boolean isEmpty()

toArray

public java.lang.Object[] toArray()

add

public boolean add(java.lang.Object o)

contains

public boolean contains(java.lang.Object o)

remove

public boolean remove(java.lang.Object o)

addAll

public boolean addAll(java.util.Collection c)

containsAll

public boolean containsAll(java.util.Collection c)

removeAll

public boolean removeAll(java.util.Collection c)

retainAll

public boolean retainAll(java.util.Collection c)

toArray

public java.lang.Object[] toArray(java.lang.Object[] o)

get

public java.lang.Object get(int i)

remove

public java.lang.Object remove(int i)

add

public void add(int i,
                java.lang.Object o)

indexOf

public int indexOf(java.lang.Object o)

lastIndexOf

public int lastIndexOf(java.lang.Object o)

addAll

public boolean addAll(int i,
                      java.util.Collection c)

subList

public java.util.List subList(int fromIndex,
                              int toIndex)

listIterator

public java.util.ListIterator listIterator()

listIterator

public java.util.ListIterator listIterator(int i)

set

public java.lang.Object set(int i,
                            java.lang.Object o)