There are methods Integer.toHexString() and Long.toHexString(). For some reason they didn\'t implement Short.toHexString().
Integer.toHexString()
Long.toHexString()
Short.toHexString()
What
Yes, you can simply take the two least-significant bytes.
This is a basic feature of the Two's Complement representation.