Package smetana.core

Class JUtils

java.lang.Object
smetana.core.JUtils

public class JUtils extends java.lang.Object
  • Field Details

    • USHRT_MAX

      public static int USHRT_MAX
  • Constructor Details

    • JUtils

      public JUtils()
  • Method Details

    • sizeof

      public static size_t sizeof(java.lang.Class cl)
    • sizeof

      public static size_t sizeof(java.lang.String name, int sz)
    • strcmp

      public static int strcmp(CString s1, CString s2)
    • strncmp

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

      public static CString strstr(CString s1, CString s2)
    • strncpy

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

      public static CString strchr(CString str, char c)
    • 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)
    • getenv

      public static CString getenv(CString var)
    • LOG

      public static void LOG(java.lang.String s)
    • LOG2

      public static void LOG2(java.lang.String s)
    • EQ

      public static boolean EQ(java.lang.Object o1, java.lang.Object o2)
    • NEQ

      public static boolean NEQ(java.lang.Object o1, java.lang.Object o2)
    • qsort1

      public static void qsort1(CArrayOfStar array, int nb, CFunction compare)
    • 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)
    • create

      public static __ptr__ create(java.lang.Class theClass, __ptr__ parent)