|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.bt747.j2se.system.J2SEJavaTranslations
public final class J2SEJavaTranslations
Method Summary | |
---|---|
double |
acos(double x)
|
void |
addThread(BT747Thread t,
boolean b)
|
double |
atan(double x)
|
double |
atan2(double x,
double y)
|
void |
debug(java.lang.String s)
|
void |
debug(java.lang.String s,
java.lang.Throwable e)
|
java.lang.String |
getAppSettings()
|
BT747Date |
getDateInstance()
|
BT747Date |
getDateInstance(int d,
int m,
int y)
|
BT747Date |
getDateInstance(java.lang.String strDate,
byte dateFormat)
|
BT747File |
getFileInstance(BT747Path path)
|
BT747File |
getFileInstance(BT747Path path,
int mode)
|
BT747HashSet |
getHashSetInstance()
|
BT747Hashtable |
getHashtableInstance(int initialCapacity)
|
BT747HttpSender |
getHttpSenderInstance()
Obtain an implementation of the BT747HttpSender interface. |
static J2SEJavaTranslations |
getInstance()
|
BT747RAFile |
getRAFileInstance(BT747Path path)
|
BT747RAFile |
getRAFileInstance(BT747Path filePath,
int mode)
|
BT747Semaphore |
getSemaphoreInstance(int value)
|
BT747StringTokenizer |
getStringTokenizer(java.lang.String a,
char b)
|
BT747Time |
getTimeInstance()
|
int |
getTimeStamp()
|
BT747Vector |
getVectorInstance()
|
boolean |
isAvailable()
|
double |
longBitsToDouble(long l)
System method to bitwise convert a long to a double. |
double |
pow(double x,
double y)
|
void |
removeThread(BT747Thread t)
|
void |
setAppSettings(java.lang.String settings)
|
double |
toDouble(java.lang.String s)
System method to convert a string to a double. |
float |
toFloat(java.lang.String s)
System method to convert a string to a float. |
float |
toFloatBitwise(int l)
System method to bitwise convert a long to a float. |
int |
toInt(java.lang.String s)
System method to convert a string to an integer. |
int |
toIntBitwise(float f)
System method to bitwise convert a float to an int. |
java.lang.String |
toString(boolean p)
Math |
java.lang.String |
toString(double p)
System method to convert a double to a string. |
java.lang.String |
toString(double p,
int i)
System method to convert a double to a string. |
java.lang.String |
toString(float p)
System method to convert a float to a string. |
java.lang.String |
toString(int p)
|
java.lang.String |
unsigned2hex(int p,
int i)
System method to convert an integer to a hexadecimal string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final J2SEJavaTranslations getInstance()
public final BT747Date getDateInstance()
getDateInstance
in interface JavaLibImplementation
public final BT747Date getDateInstance(int d, int m, int y)
getDateInstance
in interface JavaLibImplementation
public final BT747Date getDateInstance(java.lang.String strDate, byte dateFormat)
getDateInstance
in interface JavaLibImplementation
public final BT747Hashtable getHashtableInstance(int initialCapacity)
getHashtableInstance
in interface JavaLibImplementation
public final BT747Vector getVectorInstance()
getVectorInstance
in interface JavaLibImplementation
public final BT747Time getTimeInstance()
getTimeInstance
in interface JavaLibImplementation
public final BT747RAFile getRAFileInstance(BT747Path path)
getRAFileInstance
in interface JavaLibImplementation
public final BT747RAFile getRAFileInstance(BT747Path filePath, int mode)
getRAFileInstance
in interface JavaLibImplementation
public final BT747File getFileInstance(BT747Path path)
getFileInstance
in interface JavaLibImplementation
public final BT747File getFileInstance(BT747Path path, int mode)
getFileInstance
in interface JavaLibImplementation
public final boolean isAvailable()
isAvailable
in interface JavaLibImplementation
public final void debug(java.lang.String s, java.lang.Throwable e)
debug
in interface JavaLibImplementation
public final double pow(double x, double y)
pow
in interface JavaLibImplementation
public final double acos(double x)
acos
in interface JavaLibImplementation
public final void addThread(BT747Thread t, boolean b)
addThread
in interface JavaLibImplementation
public final void removeThread(BT747Thread t)
removeThread
in interface JavaLibImplementation
public final java.lang.String toString(boolean p)
toString
in interface JavaLibImplementation
p
- boolean to convert.
public final java.lang.String toString(int p)
public final java.lang.String toString(float p)
JavaLibImplementation
toString
in interface JavaLibImplementation
p
- float to convert.
public final java.lang.String toString(double p)
JavaLibImplementation
toString
in interface JavaLibImplementation
p
- double to convert.
public final java.lang.String toString(double p, int i)
JavaLibImplementation
toString
in interface JavaLibImplementation
p
- double to convert.i
- Number of digits after the decimal point.
public final java.lang.String unsigned2hex(int p, int i)
JavaLibImplementation
unsigned2hex
in interface JavaLibImplementation
p
- The integer to convert. Interpreted as an unsigned.i
- The number of characters in the hexadecimal string. For
instance, if this value is 8, a value of 0x123 would be
converted to "00000123"
public final int toInt(java.lang.String s)
JavaLibImplementation
toInt
in interface JavaLibImplementation
s
- The string to convert.
public final float toFloat(java.lang.String s)
JavaLibImplementation
toFloat
in interface JavaLibImplementation
s
- The string to convert.
public final double toDouble(java.lang.String s)
JavaLibImplementation
toDouble
in interface JavaLibImplementation
s
- The string to convert.
public final double longBitsToDouble(long l)
JavaLibImplementation
longBitsToDouble
in interface JavaLibImplementation
l
- The value to bitwise convert.
public final float toFloatBitwise(int l)
JavaLibImplementation
toFloatBitwise
in interface JavaLibImplementation
l
- The value to bitwise convert.
public final int toIntBitwise(float f)
JavaLibImplementation
toIntBitwise
in interface JavaLibImplementation
f
- The value to bitwise convert.
public final void debug(java.lang.String s)
debug
in interface JavaLibImplementation
public final int getTimeStamp()
getTimeStamp
in interface JavaLibImplementation
public final java.lang.String getAppSettings()
getAppSettings
in interface JavaLibImplementation
public final void setAppSettings(java.lang.String settings)
setAppSettings
in interface JavaLibImplementation
settings
- the application settings to setpublic final BT747Semaphore getSemaphoreInstance(int value)
getSemaphoreInstance
in interface JavaLibImplementation
public final BT747StringTokenizer getStringTokenizer(java.lang.String a, char b)
getStringTokenizer
in interface JavaLibImplementation
public final BT747HashSet getHashSetInstance()
getHashSetInstance
in interface JavaLibImplementation
public BT747HttpSender getHttpSenderInstance()
JavaLibImplementation
getHttpSenderInstance
in interface JavaLibImplementation
public double atan(double x)
atan
in interface JavaLibImplementation
public double atan2(double x, double y)
atan2
in interface JavaLibImplementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |