All Implemented Interfaces: Serializable, Comparable<Integer>
public final class Integer extends Number implements Comparable<Integer>
The Integer class wraps a value of the primitive type int in an object. An object of type Integer contains a single field whose type is int.
In addition, this class provides several methods for converting an int to a String and a String to an int, as well as other constants and methods useful when dealing with an int.
Implementation note: The implementations of the "bit twiddling" methods (such as highestOneBit and numberOfTrailingZeros) are based on material from Henry S. Warren, Jr.'s Hacker's Delight, (Addison Wesley, 2002).
Since: JDK1.0 See Also: Serialized Form
Field Summary Fields Modifier and Type Field and Description static int MAX_VALUE A constant holding the maximum value an int can have, 231-1. static int MIN_VALUE A constant holding the minimum value an int can have, -231. static int SIZE The number of bits used to represent an int value in two's complement binary form.