Java Integer Create toIntUnsigned(short x)

Here you can find the source of toIntUnsigned(short x)

Description

to Int Unsigned

License

Apache License

Declaration

protected static int toIntUnsigned(short x) 

Method Source Code

//package com.java2s;
/*// w w  w .  j a  va  2s  .  c  om
 * (c) the authors Licensed under the Apache License, Version 2.0.
 */

public class Main {
    protected static int toIntUnsigned(short x) {
        return x & 0xFFFF;
    }
}

Related

  1. toInts(String[] values)
  2. toIntsFromUBytes(byte[] byteArray)
  3. toIntStr(String floatStr)
  4. toIntString(Integer integer)
  5. toIntString(Object object)
  6. toIntValue(char ch)
  7. toIntValue(char ch, int defaultValue)
  8. toIntValue(final char ch)
  9. toIntValue(final Object o)