170c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrompackage org.bouncycastle.util; 270c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrom 370c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrompublic class Integers 470c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrom{ 5d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root public static int rotateLeft(int i, int distance) 6d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root { 7d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root return Integer.rotateLeft(i, distance); 8d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root } 9d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root 10d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root public static int rotateRight(int i, int distance) 11d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root { 12d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root return Integer.rotateRight(i, distance); 13d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root } 14d001700a15b8bd733ae344c1fc315b97c43c6590Kenny Root 1570c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrom public static Integer valueOf(int value) 1670c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrom { 1770c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrom return Integer.valueOf(value); 1870c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrom } 1970c8287138e69a98c2f950036f9f703ee37228c8Brian Carlstrom} 20