Class InvocationList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--InvocationList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable

public class InvocationList
extends java.util.Vector

The class `InvocationList' represents a list of method calls (and may later include fields). It is a subclass of Vector, and adds a method to perform the invocations in order.

See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
InvocationList()
          Constructs an empty invocation list.
 
Method Summary
 java.lang.Object invoke(java.lang.Object object)
          Performs the invocations in the list in order on a given object, returning the final result.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

InvocationList

public InvocationList()
Constructs an empty invocation list.
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object object)
Performs the invocations in the list in order on a given object, returning the final result.
Parameters:
object - The object on which the invocations are to be performed.
Returns:
The final result of the invocations.