Java Unsigned Number Create unsigned(int num)

Here you can find the source of unsigned(int num)

Description

unsigned

License

Open Source License

Declaration

public static final long unsigned(int num) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static final long unsigned(int num) {
        return 0xFFFFFFFFL & num;
    }/*  www  .  j  a  v  a 2s .  c o m*/

    public static final char unsigned(short num) {
        return (char) num;
    }
}

Related

  1. unsign(byte[] b)
  2. unsign(final byte b)
  3. unsigned(byte b)
  4. unsigned(byte data)
  5. unsigned(byte value)
  6. unsigned(int val)
  7. unsigned(short value)
  8. unsigned16(short s)
  9. unsigned32ToBytes(long value)