Class 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 boundary
      static boolean startsWithIgnoreCase​(java.lang.String s1, java.lang.String s2, java.util.Locale locale)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Util

        private Util()
    • Method Detail

      • ffi_align

        static int ffi_align​(int v,
                             int a)
        Aligns an address to a boundary
        Parameters:
        v - The address to roundup
        a - 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)