olly86
1
I think it’s possible to alter the type of an already defined variable, however I’ve been unable to find any code to do this.
For example, I’m receiving a String array from another class, which I need to convert to int format.
Any help, is appreciated.
cheers 
not too hot on java, but try Googling Cint or Cstr which are the ms equivalents for taking one data type into another.
String = "0182"
int = Cint(String)
That kind of feature, hope that gives a legs up :shrug:
DT.
Ian_D
3
int pingDbTimeout =60000;
pingDbTimeout = Integer.parseInt(whateveryourstringis);
Lifted (and edited to simplify it slightly) from some multi threaded code I wrote a year or so ago.
Try using JavaDoc (below is 1.4.2) though in this case you’ve got to know EXACTLY what you’re looking for
http://java.sun.com/j2se/1.4.2/docs/api/index.html