Package smetana.core

Class JUtils


  • public final class JUtils
    extends Object
    • Field Detail

      • USHRT_MAX

        public static int USHRT_MAX
    • Constructor Detail

      • JUtils

        public JUtils()
    • Method Detail

      • strncmp

        public static int strncmp​(CString s1,
                                  CString s2,
                                  int n)
      • strncpy

        public static void strncpy​(CString destination,
                                   CString source,
                                   int nb)
      • strtol

        public static int strtol​(CString str,
                                 CString[] endptr,
                                 int base)
      • strtod

        public static double strtod​(CString str,
                                    CString[] endptr)
      • atof

        public static double atof​(CString str)
      • memcmp

        public static int memcmp​(__ptr__ s1,
                                 __ptr__ s2,
                                 int sz)
      • memset

        public static void memset​(__ptr__ obj,
                                  int value,
                                  size_t nbytes)
      • isdigit

        public static boolean isdigit​(char c)
      • atoi

        public static int atoi​(CString s)
      • tolower

        public static char tolower​(char c)
      • LOG

        public static void LOG​(String s)
      • LOG2

        public static void LOG2​(String s)
      • EQ_CSTRING

        public static boolean EQ_CSTRING​(CString o1,
                                         CString o2)
      • qsortInt

        public static void qsortInt​(Globals zz,
                                    int[] array,
                                    int nb,
                                    CFunction compare)
      • setjmp

        public static int setjmp​(jmp_buf jmp)
      • printDebugEdge

        public static void printDebugEdge​(ST_Agedge_s e)