Package smetana.core

Class JUtils


  • public class JUtils
    extends Object
    • Field Detail

      • USHRT_MAX

        public static int USHRT_MAX
    • Constructor Detail

      • JUtils

        public JUtils()
    • Method Detail

      • sizeof

        public static size_t sizeof​(String name,
                                    int sz)
      • 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)
      • strlen

        public static int strlen​(CString s)
      • abs

        public static double abs​(double x)
      • cos

        public static double cos​(double x)
      • sin

        public static double sin​(double x)
      • sqrt

        public static double sqrt​(double x)
      • atan2

        public static double atan2​(double a,
                                   double b)
      • pow

        public static double pow​(double a,
                                 double b)
      • 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)
      • NEQ

        public static boolean NEQ​(Object o1,
                                  Object o2)
      • qsort2

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

        public static int setjmp​(jmp_buf jmp)
      • printDebugEdge

        public static void printDebugEdge​(ST_Agedge_s e)