public final class Statistics
extends java.lang.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.
|
java.lang.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 java.lang.String toHuman()
Copyright © 2020. All Rights Reserved.