Class RealClock

  • All Implemented Interfaces:
    Clock

    public class RealClock
    extends java.lang.Object
    implements Clock
    • Constructor Summary

      Constructors 
      Constructor Description
      RealClock()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long millis()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RealClock

        public RealClock()
    • Method Detail

      • millis

        public long millis()
        Specified by:
        millis in interface Clock