cin.aquario
Class ReportPrintln

java.lang.Object
  extended byorg.simulare.Named
      extended byorg.simulare.AbstractTask
          extended bycin.aquario.ReportPrintln
All Implemented Interfaces:
Name, Task

public class ReportPrintln
extends AbstractTask

A report which print item on System.out.


Field Summary
 
Fields inherited from class org.simulare.AbstractTask
tevent
 
Constructor Summary
ReportPrintln()
           
ReportPrintln(java.lang.String name)
           
 
Method Summary
 void execute(Item item)
          Executes atask over an item.
 
Methods inherited from class org.simulare.AbstractTask
addTaskListener, fireTask, fireTaskExecuted, removeTaskListener
 
Methods inherited from class org.simulare.Named
addNameListener, fireName, fireNameChanged, getName, removeNameListener, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.simulare.Name
addNameListener, getName, removeNameListener, setName
 

Constructor Detail

ReportPrintln

public ReportPrintln()

ReportPrintln

public ReportPrintln(java.lang.String name)
Method Detail

execute

public void execute(Item item)
Description copied from interface: Task
Executes atask over an item. And must notify the listeners.

Parameters:
item - The item to execute a task over.