frysk.value
Class Format
java.lang.Object
frysk.value.Format
public abstract class Format
- extends Object
Formats a base type sending it to the printer.
Method Summary |
(package private) abstract void |
print(PrintWriter writer,
Location location,
FloatingPointType type)
Print the floating-point at LOCATION. |
(package private) abstract void |
print(PrintWriter writer,
Location location,
IntegerType type)
Print the integer at LOCATION. |
(package private) abstract void |
print(PrintWriter writer,
Location location,
PointerType type)
Print the pointer at location. |
private static void |
printBinary(PrintWriter writer,
Location location,
ByteOrder order)
|
private static void |
printDecimal(PrintWriter writer,
Location location,
ByteOrder order)
|
private static void |
printFloatingPoint(PrintWriter writer,
Location location,
FloatingPointType type)
|
private static void |
printHexadecimal(PrintWriter writer,
Location location,
ByteOrder order)
|
private static void |
printHexadecimalFP(PrintWriter writer,
Location location,
FloatingPointType type)
|
private static void |
printOctal(PrintWriter writer,
Location location,
ByteOrder order)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NATURAL
public static final Format NATURAL
HEXADECIMAL
public static final Format HEXADECIMAL
OCTAL
public static final Format OCTAL
DECIMAL
public static final Format DECIMAL
BINARY
public static final Format BINARY
Format
public Format()
printDecimal
private static void printDecimal(PrintWriter writer,
Location location,
ByteOrder order)
printHexadecimal
private static void printHexadecimal(PrintWriter writer,
Location location,
ByteOrder order)
printOctal
private static void printOctal(PrintWriter writer,
Location location,
ByteOrder order)
printBinary
private static void printBinary(PrintWriter writer,
Location location,
ByteOrder order)
printFloatingPoint
private static void printFloatingPoint(PrintWriter writer,
Location location,
FloatingPointType type)
printHexadecimalFP
private static void printHexadecimalFP(PrintWriter writer,
Location location,
FloatingPointType type)
print
abstract void print(PrintWriter writer,
Location location,
IntegerType type)
- Print the integer at LOCATION.
print
abstract void print(PrintWriter writer,
Location location,
FloatingPointType type)
- Print the floating-point at LOCATION.
print
abstract void print(PrintWriter writer,
Location location,
PointerType type)
- Print the pointer at location.