Added ability for Stopwatch to be treated as a

string for printing results
This commit is contained in:
2020-02-02 11:35:18 -05:00
parent 0bbb3ba406
commit 25bbedb056
2 changed files with 6 additions and 0 deletions

View File

@@ -134,4 +134,9 @@ public class Stopwatch{
//Return the string
return time;
}
@Override
public String toString(){
return getStr();
}
}