Package smetana.core
Class JUtils
java.lang.Object
smetana.core.JUtils
public class JUtils
extends java.lang.Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
abs
(double x) static double
atan2
(double a, double b) static double
static int
static double
cos
(double x) static __ptr__
static boolean
EQ
(java.lang.Object o1, java.lang.Object o2) static CString
static boolean
isdigit
(char c) static void
LOG
(java.lang.String s) static void
LOG2
(java.lang.String s) static int
static void
static boolean
NEQ
(java.lang.Object o1, java.lang.Object o2) static double
pow
(double a, double b) static void
static void
qsort1
(CArrayOfStar array, int nb, CFunction compare) static void
static int
static double
sin
(double x) static size_t
sizeof
(java.lang.Class cl) static size_t
sizeof
(java.lang.String name, int sz) static double
sqrt
(double x) static CString
static int
static int
static int
static void
static CString
static double
static int
static char
tolower
(char c) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
USHRT_MAX
public static int USHRT_MAX
-
-
Constructor Details
-
JUtils
public JUtils()
-
-
Method Details
-
sizeof
-
sizeof
-
strcmp
-
strncmp
-
strstr
-
strncpy
-
strchr
-
strtol
-
strtod
-
atof
-
memcmp
-
memset
-
strlen
-
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
-
tolower
public static char tolower(char c) -
getenv
-
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
-
qsort2
-
setjmp
-
printDebugEdge
-
create
-