public final class Statistics extends Object
| Constructor and Description |
|---|
Statistics()
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Item item)
Adds the given item to the statistics.
|
void |
addAll(Section list)
Adds the given list of items to the statistics.
|
String |
toHuman() |
void |
writeAnnotation(AnnotatedOutput out)
Writes the statistics as an annotation.
|
public void add(Item item)
item - non-null; the item to addpublic void addAll(Section list)
list - non-null; the list of items to addpublic final void writeAnnotation(AnnotatedOutput out)
out - non-null; where to write topublic String toHuman()
Copyright © 2016. All Rights Reserved.