1 package org.bouncycastle.util; 2 3 /** 4 * Utility methods for ints. 5 */ 6 public class Integers 7 { rotateLeft(int i, int distance)8 public static int rotateLeft(int i, int distance) 9 { 10 return Integer.rotateLeft(i, distance); 11 } 12 rotateRight(int i, int distance)13 public static int rotateRight(int i, int distance) 14 { 15 return Integer.rotateRight(i, distance); 16 } 17 valueOf(int value)18 public static Integer valueOf(int value) 19 { 20 return Integer.valueOf(value); 21 } 22 } 23