|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.gla.terrier.utility.TerrierTimer
public class TerrierTimer
This class implements a timer.
Constructor Summary | |
---|---|
TerrierTimer()
Default constructor. |
Method Summary | |
---|---|
int |
getMinutes()
Get the processing time in minutes. |
java.lang.String |
getPercentage()
|
int |
getSeconds()
Get the processing time in seconds. |
void |
restart()
Reset the timer. |
void |
setBreakPoint()
Compute the processing time. |
void |
setRemainingTime(double finished)
Estimate the remaining time. |
void |
setTotalNumber(double total)
Set the overall quantitative workload of the task. |
void |
start()
Start the timer. |
java.lang.String |
toStringMinutesSeconds()
Get a string summarising the processing/remaining time in minutes and seconds. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TerrierTimer()
Method Detail |
---|
public void start()
public void restart()
public void setBreakPoint()
public int getMinutes()
public void setTotalNumber(double total)
public void setRemainingTime(double finished)
finished
- The quantitative finished workload.public int getSeconds()
public java.lang.String toStringMinutesSeconds()
public java.lang.String getPercentage()
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |