接口 TimeSource
- 所有已知实现类:
SystemTimeSource
public interface TimeSource
An interface to abstract the source of current time away from System. This allows code to run in simulations where
the time is controlled explicitly.
-
方法概要
-
方法详细资料
-
currentTimeMillis
long currentTimeMillis()currentTimeMillis.
- 返回:
- a long.
-