com.quartercode.quarterbukkit.api.scheduler
Class ScheduleGroup

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<ScheduleTask>
              extended by com.quartercode.quarterbukkit.api.scheduler.ScheduleGroup
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<ScheduleTask>, java.util.Collection<ScheduleTask>, java.util.List<ScheduleTask>, java.util.RandomAccess

public class ScheduleGroup
extends java.util.ArrayList<ScheduleTask>

This class is a modified ArrayList for managing ScheduleTasks. It adds some extra-methods to the List

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ScheduleGroup()
          The default constructor.
ScheduleGroup(java.util.Collection<? extends ScheduleTask> collection)
          A constructor for creating a filled group.
 
Method Summary
 void cancel()
          Cancels all scheduling ScheduleTasks.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ScheduleGroup

public ScheduleGroup()
The default constructor. Creates an empty schedule-group.


ScheduleGroup

public ScheduleGroup(java.util.Collection<? extends ScheduleTask> collection)
A constructor for creating a filled group.

Parameters:
collection - The ScheduleTask collection.
Method Detail

cancel

public void cancel()
Cancels all scheduling ScheduleTasks.