Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.2K+ articles
School Learning
11.1K+ articles
Java
9.3K+ articles
Misc
7.8K+ articles
Java-Functions
4.2K+ articles
Java-NIO package
230+ articles
Java-IntBuffer
20 posts
Recent Articles
Popular Articles
java.nio.IntBuffer Class in Java
Last Updated: 23 July 2025
IntBuffer holds a sequence of integer values to be used in an I/O operation. The IntBuffer class provides the following four categories of operations upon long buffers:Abs...
read more
Java
Picked
Java-IntBuffer
Java-NIO package
IntBuffer reset() methods in Java with Examples
Last Updated: 26 August 2019
The reset() method of java.nio.IntBuffer Class is used to reset this buffer's position to the previously-marked position. Invoking this method neither changes nor discards...
read more
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer flip() method in Java with Examples
Last Updated: 19 January 2023
The flip() method of java.nio.IntBuffer Class is used to flip this buffer. By flipping this buffer, it meant that the buffer will be trimmed to the current position and th...
read more
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer mark() method in Java with Examples
Last Updated: 26 August 2019
The mark() method of java.nio.IntBuffer Class is used to mark the current position of this IntBuffer as the mark of this buffer.Syntax:public final IntBuffer mark()Paramet...
read more
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer limit() method in Java with Examples
Last Updated: 26 August 2019
The limit() method of java.nio.IntBuffer Class is used to modify this IntBuffer's limit. This method takes the limit to be set as the parameter and sets that as the new li...
read more
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer rewind() method in Java with Examples
Last Updated: 26 August 2019
The rewind() method of java.nio.IntBuffer Class is used to rewind this buffer. The position is set to zero and the mark is discarded. Invoke this method before a sequence ...
read more
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer clear() method in Java with Examples
Last Updated: 26 August 2019
The clear() method of java.nio.IntBuffer Class is used to clear this buffer. While clearing this buffer following changes are done:the position is set to zerothe limit is ...
read more
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer compareTo() method in Java
Last Updated: 06 September 2022
The compareTo() method of java.nio.IntBuffer class is used to compare one buffer to another. Two int buffers are compared by comparing their sequences of remaining element...
read more
Misc
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer put() methods in Java | Set 1
Last Updated: 20 September 2018
put(int i)The put(int i) method of java.nio.IntBuffer Class is used to write the given int into the newly created int buffer at the current position, and then increments t...
read more
Misc
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer compact() method in Java
Last Updated: 20 September 2018
The compact() method of java.nio.IntBuffer Class is used to compact the given buffer.The values between the buffer's current position and its limit are copied to the begi...
read more
Misc
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer asReadOnlyBuffer() method in Java
Last Updated: 20 September 2018
The asReadOnlyBuffer() method of java.nio.IntBuffer Class is used to create a new, read-only int buffer with this buffer's content. The new buffer is a replica of this buf...
read more
Misc
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer get() methods in Java | Set 1
Last Updated: 22 July 2019
get()The get() method of java.nio.IntBuffer Class is used to reads the int at the given buffer's current position, and then increments the position.Syntax :public abstrac...
read more
Misc
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer arrayOffset() method in Java
Last Updated: 19 September 2018
The arrayOffset() method of java.nio.IntBuffer class is used to return the offset within the buffer's backing array of the first element of the buffer. It means that if th...
read more
Misc
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer equals() method in Java
Last Updated: 19 September 2018
The equals() method of java.nio.IntBuffer Class is used to check whether or not the given buffer is equal to another object.Two int buffers are equal if, and only if,They...
read more
Java
Java-Functions
Java-IntBuffer
Java-NIO package
IntBuffer allocate() method in Java
Last Updated: 22 October 2019
The allocate() method of java.nio.IntBuffer Class is used to allocate a new int buffer next to the existing buffer. The new buffer's position will be zero. Its limit will...
read more
Misc
Java
Java-Functions
Java-IntBuffer
Java-NIO package
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !