In this tutorial you will see how to check for existence of any element between the current position and the limit of a buffer.
In this tutorial you will see how to check for existence of any element between the current position and the limit of a buffer.In this tutorial you will see how to check for existence of any element between the current position and the limit of a buffer. The hasRemaining method returns true when there exists atleast one element in the buffer and returns false when there is no element available in the buffer.
import java.nio.CharBuffer;
|
False True |