I am trying to translate some C# code into java and would like to know what is the java equivalent of System.Convert.ToInt32(char)
:
Converts the value of the specified Unicode character to the equivalent 32-bit signed integer.
Convert.ToInt32(letter);