Package apple.struct

Class timeval


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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setTv_sec​(long value)
      seconds
      void setTv_usec​(int value)
      and microseconds
      long tv_sec()
      seconds
      int tv_usec()
      and microseconds
      • 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

      • timeval

        public timeval()
      • timeval

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

        public timeval​(long tv_sec,
                       int tv_usec)
    • Method Detail

      • tv_sec

        public long tv_sec()
        seconds
      • setTv_sec

        public void setTv_sec​(long value)
        seconds
      • tv_usec

        public int tv_usec()
        and microseconds
      • setTv_usec

        public void setTv_usec​(int value)
        and microseconds