Package com.kenai.jffi
Class Util
- java.lang.Object
-
- com.kenai.jffi.Util
-
public final class Util extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
equalsIgnoreCase(java.lang.String s1, java.lang.String s2, java.util.Locale locale)
(package private) static int
ffi_align(int v, int a)
Aligns an address to a boundarystatic boolean
startsWithIgnoreCase(java.lang.String s1, java.lang.String s2, java.util.Locale locale)
-
-
-
Method Detail
-
ffi_align
static int ffi_align(int v, int a)
Aligns an address to a boundary- Parameters:
v
- The address to roundupa
- The boundary to align to.- Returns:
- The aligned address.
-
startsWithIgnoreCase
public static boolean startsWithIgnoreCase(java.lang.String s1, java.lang.String s2, java.util.Locale locale)
-
equalsIgnoreCase
public static boolean equalsIgnoreCase(java.lang.String s1, java.lang.String s2, java.util.Locale locale)
-
-