Package smetana.core
Class JUtils
- java.lang.Object
-
- smetana.core.JUtils
-
public class JUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
USHRT_MAX
-
Constructor Summary
Constructors Constructor Description JUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
abs(double x)
static double
atan2(double a, double b)
static double
atof(CString str)
static int
atoi(CString s)
static double
cos(double x)
static __ptr__
create(Class theClass, __ptr__ parent)
static boolean
EQ(Object o1, Object o2)
static CString
getenv(CString var)
static boolean
isdigit(char c)
static void
LOG(String s)
static void
LOG2(String s)
static int
memcmp(__ptr__ s1, __ptr__ s2, int sz)
static void
memset(__ptr__ obj, int value, size_t nbytes)
static boolean
NEQ(Object o1, Object o2)
static double
pow(double a, double b)
static void
printDebugEdge(ST_Agedge_s e)
static void
qsort1(CArrayOfStar array, int nb, CFunction compare)
static void
qsort2(int[] array, int nb, CFunction compare)
static int
setjmp(jmp_buf jmp)
static double
sin(double x)
static size_t
sizeof(Class cl)
static size_t
sizeof(String name, int sz)
static double
sqrt(double x)
static CString
strchr(CString str, char c)
static int
strcmp(CString s1, CString s2)
static int
strlen(CString s)
static int
strncmp(CString s1, CString s2, int n)
static void
strncpy(CString destination, CString source, int nb)
static CString
strstr(CString s1, CString s2)
static double
strtod(CString str, CString[] endptr)
static int
strtol(CString str, CString[] endptr, int base)
static char
tolower(char c)
-
-
-
Method Detail
-
atof
public static double atof(CString str)
-
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)
-
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)
-
-