Class SystemNanoTime


  • public class SystemNanoTime
    extends Object
    Simple container to capture System.nanoTime() for performance meassure.
    • Constructor Detail

      • SystemNanoTime

        public SystemNanoTime()
        The constructor.
      • SystemNanoTime

        public SystemNanoTime​(long nanoTime)
        The constructor.
        Parameters:
        nanoTime - - the nano time.
    • Method Detail

      • getNanoTime

        public long getNanoTime()
        Returns:
        the captured system nano time.