All Packages  This Package  Class Hierarchy  Class Search  Index

Class app.hex.Hex
java.lang.Object
   |
   +----app.hex.Hex

  Summary

public class  Hex
     extends java.lang.Object
{
          // Constructors 1
     public Hex();

          // Methods 4
     public static StringBuffer appendDigits(StringBuffer, long, int, int);
     public static StringBuffer appendHex(StringBuffer, long, int);
     public static String getHex(int, int);
     public static String getHex(long, int);

}

Static methods for formatting values in hex-character form. Contains no actual output methods.


  Cross Reference

Extended By:
Dump





  Constructors

· Hex

Summary  |  Top
   public Hex() 

Default constructor



  Methods

· getHex

Summary  |  Top
   public static String getHex(int value, 
                               int minDigits) 

Return a zero-filled hex string at least minDigits in length, representing the unsigned value. More digits will be present if the value is larger than minDigits indicates.



· getHex

Summary  |  Top
   public static String getHex(long value, 
                               int minDigits) 

Return a zero-filled hex string at least minDigits in length. More digits will be present if the value is larger than minDigits indicates.



· appendHex

Summary  |  Top
   public static StringBuffer appendHex(StringBuffer build, 
                                        long convert, 
                                        int minDigits) 

Return a zero-filled hex string at least minDigits in length. More digits will be present if the value is larger than minDigits indicates.



· appendDigits

Summary  |  Top
   public static StringBuffer appendDigits(StringBuffer build, 
                                           long convert, 
                                           int minDigits, 
                                           int base) 

Append at least N digits in reverse order, zero-padded to minDigits length if necessary. The incoming StringBuffer arg is returned, to facilitate concatenated method invocations.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7