public class XCounter extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected long |
count
count represents the value of the counter
|
protected String |
description
description refers to the title of this counter
|
protected long |
n
n represents the number of measurements
|
| Constructor and Description |
|---|
XCounter(String description)
constructs a new CounterTest
|
| Modifier and Type | Method and Description |
|---|---|
void |
count(long value) |
long |
getCount()
Returns the current counter value
|
String |
getDescription()
returns the description of the counter
|
long |
getN()
Returns the current number of observations
|
void |
initialize()
initializes the counter
|
boolean |
isInitialized()
is the counter initialized?
|
String |
toString() |
int |
writeToExcel(org.apache.poi.ss.usermodel.Sheet sheet,
int startRow)
Write statistics to an excel spreadsheet, starting on row "startRow"
|
protected long count
protected long n
protected String description
public XCounter(String description)
description - the description for this counterpublic long getCount()
public long getN()
public void count(long value)
value - the valuepublic String toString()
toString in class ObjectObject.toString()public void initialize()
public boolean isInitialized()
public String getDescription()
public int writeToExcel(org.apache.poi.ss.usermodel.Sheet sheet,
int startRow)
sheet - the sheetstartRow - the first rowCopyright © 2014–2017 Delft University of Technology. All rights reserved.