org.vizzini.game.action
Class ActionCollection

java.lang.Object
  extended by org.vizzini.util.AbstractCollection
      extended by org.vizzini.util.AbstractList
          extended by org.vizzini.game.action.ActionCollection
All Implemented Interfaces:
Serializable, Iterable, Collection, ICollection

public class ActionCollection
extends AbstractList

Provides a collection to hold IAction s.

Since:
v0.1
Version:
v0.3
Author:
Jeffrey M. Thompson
See Also:
Serialized Form

Constructor Summary
ActionCollection()
           
 
Method Summary
 void clear()
          Removes all of the objects from this collection.
protected  List getData()
          Return the data collection.
protected  Class getType()
          Return the type this collection holds.
 
Methods inherited from class org.vizzini.util.AbstractList
add, contains, equals, hashCode, isEmpty, iterator, remove, size
 
Methods inherited from class org.vizzini.util.AbstractCollection
addAll, containsAll, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionCollection

public ActionCollection()
Method Detail

clear

public void clear()
Removes all of the objects from this collection. Extends the super method to release the actions.

Specified by:
clear in interface Collection
Overrides:
clear in class AbstractList
Since:
v0.3

getData

protected List getData()
Return the data collection.

Specified by:
getData in class AbstractList
Since:
v0.1

getType

protected Class getType()
Return the type this collection holds.

Specified by:
getType in class AbstractCollection
Since:
v0.1


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02