org.jscience.architecture.lift
Class PassengerGenerator

java.lang.Object
  extended by org.jscience.architecture.lift.Tickable
      extended by org.jscience.architecture.lift.PassengerGenerator
All Implemented Interfaces:
TickableInterface
Direct Known Subclasses:
FileBasedPassengerGenerator, PoissonPassengerGenerator

public abstract class PassengerGenerator
extends Tickable

This file is licensed under the GNU Public Licens (GPL).
This should be the father of all entities that generate Passengers.

See Also:
Passenger, PassengerProcessor

Field Summary
protected  java.util.ArrayList Passengers
          The Passengers generated so far.
 
Constructor Summary
PassengerGenerator()
          Constructor.
 
Method Summary
 java.util.ArrayList getGeneratedPassengers()
          Returns the Passengers generated by this PassengerGenerator.
 java.lang.String getName()
          Returns the Name of the object.
 
Methods inherited from class org.jscience.architecture.lift.Tickable
getFullName, getID, getVersion, Tick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Passengers

protected final java.util.ArrayList Passengers
The Passengers generated so far.

Constructor Detail

PassengerGenerator

public PassengerGenerator()
Constructor.

Method Detail

getName

public java.lang.String getName()
Description copied from interface: TickableInterface
Returns the Name of the object.

Specified by:
getName in interface TickableInterface
Specified by:
getName in class Tickable
Returns:
DOCUMENT ME!

getGeneratedPassengers

public java.util.ArrayList getGeneratedPassengers()
Returns the Passengers generated by this PassengerGenerator. The World will delete the Passengers from the returned ArrayList.

Returns:
DOCUMENT ME!