Are you sure you're looking at the right source, and not just a compiled class in your IDE. I have the following:
/**
* A constant holding the minimum value an {@code int} can
* have, -2<sup>31</sup>.
*/
public static final int MIN_VALUE = 0x80000000;
/**
* A constant holding the maximum value an {@code int} can
* have, 2<sup>31</sup>-1.
*/
public static final int MAX_VALUE = 0x7fffffff;
Grep code agrees: http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/lang/Integer.java
Answer from sksamuel on Stack OverflowClasspath
developer.classpath.org › doc › java › lang › Integer-source.html
Source for java.lang.Integer (GNU Classpath 0.95 Documentation)
68: */ 69: public static final int MIN_VALUE = 0x80000000; 70: 71: /** 72: * The maximum value an <code>int</code> can represent is 2147483647 (or 73: * 2<sup>31</sup> - 1). 74: */ 75: public static final int MAX_VALUE = 0x7fffffff; 76: 77: /** 78: * The primitive type <code>int</code> is ...
GitHub
github.com › openjdk › jdk › blob › master › src › java.base › share › classes › java › lang › Integer.java
jdk/src/java.base/share/classes/java/lang/Integer.java at master · openjdk/jdk
import static java.lang.String.COMPACT_STRINGS; · /** * The {@code Integer} class is the {@linkplain · * java.lang##wrapperClass wrapper class} for values of the primitive · * type {@code int}. An object of type {@code Integer} contains ...
Author openjdk
Videos
03:32
#998- Java Interview Questions | int vs Integer in Java | Performance ...
Java Integer Mystery Explained - YouTube
02:09
Java Wrapper Class: Conversion Methods of Integer Class Explained ...
13:29
Intro to the Integer Class in Java - YouTube
12:23
Classes Part 15 - Integer Wrapper Class (JAVA) - YouTube
31:27
Learn Java Programming - Integer Class Tutorial - YouTube
Tutorialspoint
tutorialspoint.com › home › java/lang › java integer class
Java Integer Class Overview
September 1, 2008 - public final class Integer extends Number implements Comparable<Integer> Following are the fields for java.lang.Integer class −
Java Code Geeks
examples.javacodegeeks.com › home › java development › core java
Integer Java Class Example - Java Code Geeks
May 31, 2021 - Running the above code will give the output as below: ... In this article, we learned about the java.lang.Integer Integer Java Class. We looked at the types of ways of constructing the Integer object. We also looked at some of the important static and instance methods and their usages. ... That was an example of the Java Integer Class. Download You can download the full source ...
CodeGym
codegym.cc › java blog › java classes › java.lang.integer class
Java.lang.Integer Class
February 20, 2025 - Integer in java is a whole number that fits in 32 bits. If you want a larger number you are welcome to use Java Long numbers. They have 64 bits at their disposal. If you are unlucky enough to need an even larger number Java has you covered with BigInteger. As a wrapper class, Integer provides various methods for working with int, as well as a number of methods for converting int to String and String to int.
Oracle
docs.oracle.com › javase › 8 › docs › api › java › lang › Integer.html
Integer (Java Platform SE 8 )
October 20, 2025 - Java™ Platform Standard Ed. 8 ... The Integer class wraps a value of the primitive type int in an object.
Oracle
docs.oracle.com › javase › 7 › docs › api › java › lang › Integer.html
Integer (Java Platform SE 7 )
Java™ Platform Standard Ed. 7 ... The Integer class wraps a value of the primitive type int in an object.
GitHub
github.com › frohoff › jdk8u-jdk › blob › master › src › share › classes › java › lang › Integer.java
jdk8u-jdk/src/share/classes/java/lang/Integer.java at master · frohoff/jdk8u-jdk
import java.lang.annotation.Native; · /** * The {@code Integer} class wraps a value of the primitive type · * {@code int} in an object. An object of type {@code Integer} * contains a single field whose type is {@code int}. * * <p>In ...
Author frohoff
MIT
web.mit.edu › java_v1.0.2 › www › javadoc › java.lang.Integer.html
Class java.lang.Integer
All Packages Class Hierarchy This Package Previous Next Index · java.lang.Object | +----java.lang.Number | +----java.lang.Integer
Oracle
docs.oracle.com › en › java › javase › 21 › docs › api › java.base › java › lang › Integer.html
Integer (Java SE 21 & JDK 21)
January 20, 2026 - 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.
Scientech Easy
scientecheasy.com › home › blog › java integer class
Java Integer Class - Scientech Easy
February 3, 2025 - String str = "198665"; Integer obj = new Integer(str); In addition to methods inherited from Number class and Object class, Java Integer class also provides some useful important methods.
Java Almanac
javaalmanac.io › jdk › 1.2 › api › java › lang › Integer.html
Java Platform 1.2 API Specification: Class Integer
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. ... The smallest value of type int.
Google
android.googlesource.com › platform › libcore › + › d43b9ef › luni › src › main › java › java › lang › Integer.java
luni/src/main/java/java/lang/Integer.java - platform/libcore - Git at Google
Sign in · android/platform/libcore/d43b9ef/./luni/src/main/java/java/lang/Integer.java · blob: 15511a87dfcbcc08dc00496e7571119c40e06da6 [file] [log] [blame] · Powered by Gitiles| Privacy| Termstxt json
Oracle
docs.oracle.com › en › java › javase › 11 › docs › api › java.base › java › lang › Integer.html
Integer (Java SE 11 & JDK 11 )
January 20, 2026 - 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.
Scaler
scaler.com › home › topics › integer class in java
Integer Class in Java| Scaler Topics
April 14, 2024 - In this example, we are going to see how we can create an Object of Integer Class using Integer(b) constructor. ... It creates an Integer object with the int value supplied by the string representation as its starting value.
Scijava
javadoc.scijava.org › Java9 › java › lang › class-use › Integer.html
Uses of Class java.lang.Integer (Java SE 9 & JDK 9 )
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Oracle
docs.oracle.com › en › java › javase › 20 › docs › api › java.base › java › lang › Integer.html
Integer (Java SE 20 & JDK 20)
July 10, 2023 - Returns an Integer object holding the value extracted from the specified String when parsed with the radix given by the second argument. clone, finalize, getClass, notify, notifyAll, wait, wait, wait ... A constant holding the minimum value an int can have, -231.