/** * Returns a stopwatch instance initialized with the specified tag and data. * * @param tag Tag to identify the interval being timed. * @param data Arbitrary metadata. * @return An initialized stopwatch instance. Will be null if the factory has not been * initialized. */ public static IStopWatch create(String tag, Map<String, Object> data) { IStopWatch sw = create(); sw.init(tag, data); return sw; } }