Package pal.misc

Class TimeStamp


  • public class TimeStamp
    extends java.lang.Object
    keeps track of program runtime
    Author:
    Korbinian Strimmer
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeStamp()
      create object and start timer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void report​(java.io.PrintWriter out)
      report on runtime
      void stop()
      stop timer
      • Methods inherited from class java.lang.Object

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

      • TimeStamp

        public TimeStamp()
        create object and start timer
    • Method Detail

      • stop

        public void stop()
        stop timer
      • report

        public void report​(java.io.PrintWriter out)
        report on runtime
        Parameters:
        out - output stream