Module openj9.dtfj

Class Humanize


  • public class Humanize
    extends Object
    Utility class for converting a value to a human-readable form.
    • Constructor Detail

      • Humanize

        public Humanize()
    • Method Detail

      • bytes

        public static String bytes​(long bytes)
        Convert the byte value into something easier to understand.
        Parameters:
        bytes -
        Returns:
      • pointer

        public static String pointer​(long value)
        Make the long value look like a pointer.
        Parameters:
        value -
        Returns:
      • main

        public static void main​(String[] args)