mirror of
https://bitbucket.org/Mattrixwv/javaclasses.git
synced 2025-12-06 23:13:57 -05:00
Added ability for Stopwatch to be treated as a
string for printing results
This commit is contained in:
@@ -134,4 +134,9 @@ public class Stopwatch{
|
||||
//Return the string
|
||||
return time;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString(){
|
||||
return getStr();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user