Class OutputUtils


  • public class OutputUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OutputUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int oneHex​(java.io.Writer out, int x, int i)
      Print one hex digit of the number
      static int oneHex​(java.lang.StringBuilder out, int x, int i)
      Print one hex digit of the number
      static int oneHex​(AWriter out, int x, int i)
      Print one hex digit of the number
      static void printHex​(java.io.Writer out, int x, int width)
      Print the number x in width hex chars.
      static void printHex​(java.lang.StringBuilder out, int x, int width)
      Print the number x in width hex chars.
      static void printHex​(AWriter out, int x, int width)
      Print the number x in width hex chars.
      • Methods inherited from class java.lang.Object

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

      • OutputUtils

        public OutputUtils()
    • Method Detail

      • printHex

        public static void printHex​(java.lang.StringBuilder out,
                                    int x,
                                    int width)
        Print the number x in width hex chars. x must fit
      • oneHex

        public static int oneHex​(java.lang.StringBuilder out,
                                 int x,
                                 int i)
        Print one hex digit of the number
      • printHex

        public static void printHex​(java.io.Writer out,
                                    int x,
                                    int width)
        Print the number x in width hex chars. x must fit
      • oneHex

        public static int oneHex​(java.io.Writer out,
                                 int x,
                                 int i)
        Print one hex digit of the number
      • printHex

        public static void printHex​(AWriter out,
                                    int x,
                                    int width)
        Print the number x in width hex chars. x must fit
      • oneHex

        public static int oneHex​(AWriter out,
                                 int x,
                                 int i)
        Print one hex digit of the number