|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.logging.progress.AbstractProgress
public abstract class AbstractProgress
Abstract base class for FiniteProgress objects.
| Field Summary | |
|---|---|
private int |
processed
The number of items already processed at a time being. |
private String |
task
The task name. |
| Constructor Summary | |
|---|---|
AbstractProgress(String task)
Default constructor. |
|
| Method Summary | |
|---|---|
abstract StringBuffer |
appendToBuffer(StringBuffer buf)
Serialize a description into a String buffer. |
int |
getProcessed()
Get the number of items already processed at a time being. |
String |
getTask()
Provides the name of the task. |
void |
setProcessed(int processed)
Sets the number of items already processed at a time being. |
String |
toString()
Returns a String representation of the progress suitable as a message for printing to the command line interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.lmu.ifi.dbs.elki.logging.progress.Progress |
|---|
isComplete |
| Field Detail |
|---|
private int processed
private String task
| Constructor Detail |
|---|
public AbstractProgress(String task)
task - Task name.| Method Detail |
|---|
public String getTask()
public void setProcessed(int processed)
throws IllegalArgumentException
processed - the number of items already processed at a time being
IllegalArgumentException - if an invalid value was passed.public int getProcessed()
public abstract StringBuffer appendToBuffer(StringBuffer buf)
appendToBuffer in interface Progressbuf - Buffer to serialize to
public String toString()
toString in interface ProgresstoString in class ObjectObject.toString()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||