Package apple.struct

Class mach_timespec


  • public final class mach_timespec
    extends org.moe.natj.c.StructObject
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        mach_timespec()  
        mach_timespec​(int tv_sec, int tv_nsec)  
      protected mach_timespec​(org.moe.natj.general.Pointer peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setTv_nsec​(int value)
      nanoseconds
      void setTv_sec​(int value)
      seconds
      int tv_nsec()
      nanoseconds
      int tv_sec()
      seconds
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

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

      • mach_timespec

        public mach_timespec()
      • mach_timespec

        protected mach_timespec​(org.moe.natj.general.Pointer peer)
      • mach_timespec

        public mach_timespec​(int tv_sec,
                             int tv_nsec)
    • Method Detail

      • tv_sec

        public int tv_sec()
        seconds
      • setTv_sec

        public void setTv_sec​(int value)
        seconds
      • tv_nsec

        public int tv_nsec()
        nanoseconds
      • setTv_nsec

        public void setTv_nsec​(int value)
        nanoseconds