de.kappich.sys.funclib.profile
Class LapStatistic

java.lang.Object
  extended by de.kappich.sys.funclib.profile.LapStatistic

public class LapStatistic
extends Object

Messung und Ausgabe von Zeit- und Speicherverbrauch.

Author:
Kappich Systemberatung

Nested Class Summary
static class LapStatistic.Result
           
 
Constructor Summary
LapStatistic()
           
LapStatistic(int alignNumberColumn, int alignNameColumn, int alignLapTimeColumn, int alignLapMemColumn, int alignTotalMemColumn)
           
 
Method Summary
 LapStatistic.Result getLapResult()
           
 void printLapResult(String title)
           
 void printLapResultWithGc(String title)
           
 String toString(String title)
          Der Rückgabewert entspricht der Ausgabe der Methode printLapResult(String).
 String toStringWithGc(String title)
          Der Rückgabewert entspricht der Ausgabe der Methode printLapResultWithGc(String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LapStatistic

public LapStatistic()

LapStatistic

public LapStatistic(int alignNumberColumn,
                    int alignNameColumn,
                    int alignLapTimeColumn,
                    int alignLapMemColumn,
                    int alignTotalMemColumn)
Method Detail

getLapResult

public LapStatistic.Result getLapResult()

printLapResult

public void printLapResult(String title)

printLapResultWithGc

public void printLapResultWithGc(String title)

toString

public String toString(String title)
Der Rückgabewert entspricht der Ausgabe der Methode printLapResult(String).

Parameters:
title - Titel der Ausgabezeile
Returns:
Ergebnis der Messung

toStringWithGc

public String toStringWithGc(String title)
Der Rückgabewert entspricht der Ausgabe der Methode printLapResultWithGc(String).

Parameters:
title - Titel der Ausgabezeile
Returns:
Ergebnis der Messung