public class Group
extends java.lang.Object
SampleProfiler
.Constructor and Description |
---|
Group(java.lang.String name)
Instantiates a
Group . |
Modifier and Type | Method and Description |
---|---|
void |
add(PrintableSnapshot printableSnapshot)
Adds a snapshot.
|
void |
clear()
Clears the snapshots.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
toString() |
public Group(java.lang.String name)
Group
.name
- the group name.public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public void add(PrintableSnapshot printableSnapshot)
printableSnapshot
- the snapshot to add.public void clear()