Class SMFB2Alignment


  • public final class SMFB2Alignment
    extends java.lang.Object
    Functions to calculate alignment.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long alignNext​(long value, int alignment)
      Align the given value to the next multiple of alignment.
      • Methods inherited from class java.lang.Object

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

      • alignNext

        public static long alignNext​(long value,
                                     int alignment)
        Align the given value to the next multiple of alignment.
        Parameters:
        value - The current value
        alignment - The alignment
        Returns:
        An aligned value