nl.tbdev.IR
Class Display

java.lang.Object
  |
  +--nl.tbdev.IR.Display

public class Display
extends java.lang.Object

Display is a utility class.


Field Summary
(package private) static char[] digit
           
 
Constructor Summary
Display()
           
 
Method Summary
static java.lang.String hex(byte b)
          Get HEX representation of a byte.
static java.lang.String hex(int i)
          Get HEX representation of an int.
private static java.lang.String hex(int num, int len)
          Internal formatter
static java.lang.String hex(short s)
          Get HEX representation of a short.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

digit

static char[] digit
Constructor Detail

Display

public Display()
Method Detail

hex

public static java.lang.String hex(byte b)
Get HEX representation of a byte.
Parameters:
b - value to convert
Returns:
String with HEX representation

hex

public static java.lang.String hex(short s)
Get HEX representation of a short.
Parameters:
s - value to convert
Returns:
String with HEX representation

hex

public static java.lang.String hex(int i)
Get HEX representation of an int.
Parameters:
i - value to convert
Returns:
String with HEX representation

hex

private static java.lang.String hex(int num,
                                    int len)
Internal formatter