edu.ucsb.cs.jicos.services
Class TaskClassStats

java.lang.Object
  extended by java.util.AbstractMap
      extended by java.util.HashMap
          extended by edu.ucsb.cs.jicos.services.TaskClassStats
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public final class TaskClassStats
extends java.util.HashMap

See Also:
Serialized Form

Constructor Summary
TaskClassStats()
           
 
Method Summary
 TaskStats get(java.lang.Class className)
          Get the TaskStats object associated with a particular Task Class.
 java.lang.String toString(java.lang.String pad)
          Returns a String representation of a TaskStat object.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

TaskClassStats

public TaskClassStats()
Method Detail

get

public TaskStats get(java.lang.Class className)
Get the TaskStats object associated with a particular Task Class.

Parameters:
className - The Class of the Task whose TaskStat object is sought.
Returns:
A TaskStat object.

toString

public java.lang.String toString(java.lang.String pad)
Returns a String representation of a TaskStat object.

Parameters:
pad - A String that is prepended to the returned String.
Returns:
a String representation of a TaskStat object, including the number of Tasks of this Class, the total execution time for these Task objects, the average execution time for these Task objects, and the name of the Task Class.


Jicos: http://cs.ucsb.edu/projects/jicos