gnu.expr
Class KawaConvert

java.lang.Object
  extended by gnu.lists.Convert
      extended by gnu.expr.KawaConvert

public class KawaConvert
extends Convert

Override gnu.lists.Convert to use Kawa number and Char classes.


Field Summary
static Convert instance
           
 
Constructor Summary
KawaConvert()
           
 
Method Summary
 java.lang.Object byteToObject(byte value)
           
 java.lang.Object byteToObjectUnsigned(byte value)
           
 java.lang.Object charToObject(char ch)
           
 java.lang.Object doubleToObject(double value)
           
 java.lang.Object floatToObject(float value)
           
static Convert getInstance()
           
 java.lang.Object intToObject(int value)
           
 java.lang.Object intToObjectUnsigned(int value)
           
 java.lang.Object longToObject(long value)
           
 java.lang.Object longToObjectUnsigned(long value)
           
 char objectToChar(java.lang.Object obj)
           
static void setInstance(Convert value)
           
 java.lang.Object shortToObject(short value)
           
 java.lang.Object shortToObjectUnsigned(short value)
           
 
Methods inherited from class gnu.lists.Convert
booleanToObject, objectToBoolean, objectToByte, objectToByteUnsigned, objectToDouble, objectToFloat, objectToInt, objectToIntUnsigned, objectToLong, objectToLongUnsigned, objectToShort, objectToShortUnsigned, parseDouble, toBoolean, toByte, toByteUnsigned, toChar, toDouble, toFloat, toInt, toIntUnsigned, toLong, toLongUnsigned, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObjectUnsigned, toObjectUnsigned, toObjectUnsigned, toObjectUnsigned, toShort, toShortUnsigned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static Convert instance
Constructor Detail

KawaConvert

public KawaConvert()
Method Detail

getInstance

public static Convert getInstance()

setInstance

public static void setInstance(Convert value)

charToObject

public java.lang.Object charToObject(char ch)
Overrides:
charToObject in class Convert

objectToChar

public char objectToChar(java.lang.Object obj)
Overrides:
objectToChar in class Convert

byteToObject

public java.lang.Object byteToObject(byte value)
Overrides:
byteToObject in class Convert

shortToObject

public java.lang.Object shortToObject(short value)
Overrides:
shortToObject in class Convert

intToObject

public java.lang.Object intToObject(int value)
Overrides:
intToObject in class Convert

longToObject

public java.lang.Object longToObject(long value)
Overrides:
longToObject in class Convert

byteToObjectUnsigned

public java.lang.Object byteToObjectUnsigned(byte value)
Overrides:
byteToObjectUnsigned in class Convert

shortToObjectUnsigned

public java.lang.Object shortToObjectUnsigned(short value)
Overrides:
shortToObjectUnsigned in class Convert

intToObjectUnsigned

public java.lang.Object intToObjectUnsigned(int value)
Overrides:
intToObjectUnsigned in class Convert

longToObjectUnsigned

public java.lang.Object longToObjectUnsigned(long value)
Overrides:
longToObjectUnsigned in class Convert

floatToObject

public java.lang.Object floatToObject(float value)
Overrides:
floatToObject in class Convert

doubleToObject

public java.lang.Object doubleToObject(double value)
Overrides:
doubleToObject in class Convert