Class AlignmentUtils


  • public abstract class AlignmentUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AlignmentUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int alignOffset​(int offset, int alignment)  
      static boolean isAligned​(int offset, int alignment)  
      • Methods inherited from class java.lang.Object

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

      • AlignmentUtils

        public AlignmentUtils()
    • Method Detail

      • alignOffset

        public static int alignOffset​(int offset,
                                      int alignment)
      • isAligned

        public static boolean isAligned​(int offset,
                                        int alignment)