Here you can find the source of toUnsignedInt(long value)
public static long toUnsignedInt(long value)
//package com.java2s; //License from project: Apache License public class Main { private static final long UNSIGNED_INT_MAX = 0xffffffffL; public static long toUnsignedInt(long value) { return value &= UNSIGNED_INT_MAX; }// w ww .j a va2 s .co m }