|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
metricsprovider.MetricsGenerator
metricsprovider.LOCGenerator
public class LOCGenerator
This class implements a basic exemplar metric that provides a incrementing value for each line of the text.
| Constructor Summary | |
|---|---|
LOCGenerator()
Main constructor, must call super. |
|
| Method Summary | |
|---|---|
void |
generateMetrics(UpdatedEditor upEditor)
This class creates a metric and combines it with existing editor information into the form of a metric file and then updates the observer with the MetricFile. |
static LOCGenerator |
getInstance()
|
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LOCGenerator()
| Method Detail |
|---|
public static LOCGenerator getInstance()
public void generateMetrics(UpdatedEditor upEditor)
generateMetrics in class MetricsGeneratorupEditor - the editor information for the current update.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||