public class Tracker
extends java.lang.Object
Constructor and Description |
---|
Tracker() |
Modifier and Type | Method and Description |
---|---|
int |
get(java.lang.String index)
Return the amount of times the aimed method passed through a point.
|
void |
increase(java.lang.String index)
Increase by one the "index" trace.
|
void |
set(java.lang.String index,
int value)
Give a trace a specific value.
|
java.lang.String |
toString() |
public void increase(java.lang.String index)
index
- point to survey.public void set(java.lang.String index, int value)
index
- point to survey.value
- value to give to point.public int get(java.lang.String index)
index
- point to get.public java.lang.String toString()
toString
in class java.lang.Object