Here you can find the source of castLongtoUInt(long x)
public static int castLongtoUInt(long x)
//package com.java2s; //License from project: Open Source License public class Main { public static int castLongtoUInt(long x) { return (int) (x & 0x00000000ffffffffL); }//from w ww . j a v a2 s.co m }