Here you can find the source of unsignedInt(int i)
public static long unsignedInt(int i)
//package com.java2s; public class Main { public static long unsignedInt(int i) { long l = i; l = l & (0xFFFFFFFFL);//from w w w . ja va2 s . c o m return l; } }