Here you can find the source of unsigned(int num)
public static final long unsigned(int num)
//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; } }