gr.spinellis.ckjm
Class ClassMetricsContainer

java.lang.Object
  extended by gr.spinellis.ckjm.ClassMetricsContainer

 class ClassMetricsContainer
extends java.lang.Object

A container of class metrics mapping class names to their metrics. This class contains the the metrics for all class's during the filter's operation. Some metrics need to be updated as the program processes other classes, so the class's metrics will be recovered from this container to be updated.

Version:
$Revision: 1.9 $
Author:
Diomidis Spinellis

Constructor Summary
ClassMetricsContainer()
           
 
Method Summary
 ClassMetrics getMetrics(java.lang.String name)
          Return a class's metrics
 void printMetrics(CkjmOutputHandler handler)
          Print the metrics of all the visited classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassMetricsContainer

ClassMetricsContainer()
Method Detail

getMetrics

public ClassMetrics getMetrics(java.lang.String name)
Return a class's metrics


printMetrics

public void printMetrics(CkjmOutputHandler handler)
Print the metrics of all the visited classes.