Java Unsigned Number Create unsignedInt(int value)

Here you can find the source of unsignedInt(int value)

Description

Convert an unsigned 32-bit integer to a string.

License

Open Source License

Declaration

public static Integer unsignedInt(int value) 

Method Source Code

//package com.java2s;

public class Main {
    /**/*from w w w .j av a 2  s . com*/
     * Convert an unsigned 32-bit integer to a string.
     */
    public static Integer unsignedInt(int value) {
        if (value < 0) {
            return (int) ((value) & 0x00000000FFFFFFFFL);
        }
        return value;
    }
}

Related

  1. unsignedDiv(long l1, long l2)
  2. unsignedExtend(String hex)
  3. unsignedHalfwordToString(int value)
  4. unsignedInt(byte b)
  5. unsignedInt(int i)
  6. unsignedInt2ByteLE(byte[] bytes, long value, int offset)
  7. unsignedInt2Long(int x)
  8. unsignedInt32ToBytes(long v)
  9. unsignedIntArray2signedIntArray(int[] myIntArray, int numberOfBytes)