title: Java Short.ToUnsignedInt Not defined
body: <p>I'm using Android Studio and I want to use the functions</p>
  
  <pre><code>Byte.toUnsignedInt(...);
  Short.toUnsignedInt(...);
  </code></pre>
  
  <p>But they give compiler error, even though I see that these are member functions that should be in the Short and Byte class, but it doesnt work. </p>
  
  <p>Anybody have idea?</p>
  
  <pre><code>D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:190: error: cannot find symbol
                  d_U = Short.toUnsignedInt(ind_U[i]) % 255;
                             ^
    symbol:   method toUnsignedInt(short)
    location: class Short
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:191: error: cannot find symbol
                  e_U = Short.toUnsignedInt(ind_U[i]) % 77;
                             ^
    symbol:   method toUnsignedInt(short)
    location: class Short
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:192: error: cannot find symbol
                  a_U = (byte)fSb2_U[(int)d_U];
                              ^
    symbol:   variable fSb2_U
    location: class AESCrypt
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:193: error: cannot find symbol
                  b_U = (byte)rsB2_U[(int)e_U];
                              ^
    symbol:   variable rsB2_U
    location: class AESCrypt
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:194: error: cannot find symbol
                  c_U = (byte)(Byte.toUnsignedInt(a_U) ^ Byte.toUnsignedInt(b_U) ^ Byte.toUnsignedInt(a_U) - Byte.toUnsignedInt(b_U));
                                   ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:194: error: cannot find symbol
                  c_U = (byte)(Byte.toUnsignedInt(a_U) ^ Byte.toUnsignedInt(b_U) ^ Byte.toUnsignedInt(a_U) - Byte.toUnsignedInt(b_U));
                                                             ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:194: error: cannot find symbol
                  c_U = (byte)(Byte.toUnsignedInt(a_U) ^ Byte.toUnsignedInt(b_U) ^ Byte.toUnsignedInt(a_U) - Byte.toUnsignedInt(b_U));
                                                                                       ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:194: error: cannot find symbol
                  c_U = (byte)(Byte.toUnsignedInt(a_U) ^ Byte.toUnsignedInt(b_U) ^ Byte.toUnsignedInt(a_U) - Byte.toUnsignedInt(b_U));
                                                                                                                 ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:195: error: cannot find symbol
                  low_U = (byte)(0x0F &amp; Byte.toUnsignedInt(c_U));
                                            ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:196: error: cannot find symbol
                  high_U = (byte)((0xF0 &amp; Byte.toUnsignedInt(b_U)) &gt;&gt; 4);
                                              ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:199: error: cannot find symbol
                  d_U = Short.toUnsignedInt(ind_U[k]) % 255;
                             ^
    symbol:   method toUnsignedInt(short)
    location: class Short
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:200: error: cannot find symbol
                  e_U = Short.toUnsignedInt(ind_U[k]) % 89;
                             ^
    symbol:   method toUnsignedInt(short)
    location: class Short
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:201: error: cannot find symbol
                  a_U = (byte)rsB2_U[(int)e_U];
                              ^
    symbol:   variable rsB2_U
    location: class AESCrypt
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:202: error: cannot find symbol
                  b_U = (byte)rsB2_U[(int)d_U];
                              ^
    symbol:   variable rsB2_U
    location: class AESCrypt
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:203: error: cannot find symbol
                  c_U = (byte)(Byte.toUnsignedInt(a_U) ^ Byte.toUnsignedInt(b_U) ^ Byte.toUnsignedInt(c_U));
                                   ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:203: error: cannot find symbol
                  c_U = (byte)(Byte.toUnsignedInt(a_U) ^ Byte.toUnsignedInt(b_U) ^ Byte.toUnsignedInt(c_U));
                                                             ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:203: error: cannot find symbol
                  c_U = (byte)(Byte.toUnsignedInt(a_U) ^ Byte.toUnsignedInt(b_U) ^ Byte.toUnsignedInt(c_U));
                                                                                       ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:204: error: cannot find symbol
                  high_U = (byte)(0x0F &amp; Byte.toUnsignedInt(c_U));
                                             ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  D:\MUD\ANDROID\ArduinoUSB\app\src\main\java\com\hariharan\arduinousb\AESCrypt.java:205: error: cannot find symbol
                  low_U = (byte)((0xF0 &amp; Byte.toUnsignedInt(c_U)) &gt;&gt; 4);
                                             ^
    symbol:   method toUnsignedInt(byte)
    location: class Byte
  19 errors
  
   FAILED
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':app:compileDebugJavaWithJavac'.
  &gt; Compilation failed; see the compiler error output for details.
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  </code></pre>