Class IntHelper


  • public final class IntHelper
    extends java.lang.Object
    A couple of helper methods with integers.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String adjustedIntRepresentation​(int value)
      Adjusts the string representation of an int to make it easier to read in certain cases, such as values used to mask components of an RGB color.
      • Methods inherited from class java.lang.Object

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

      • adjustedIntRepresentation

        public static java.lang.String adjustedIntRepresentation​(int value)
        Adjusts the string representation of an int to make it easier to read in certain cases, such as values used to mask components of an RGB color.
        Parameters:
        value - the input number
        Returns:
        The adjusted string