How exactly CharBuffer equals() method works?
问题 I cannot understand particular details of CharBuffer equals() method functioning. I don't understand this "considered independently of their starting positions" phrase: Two char buffers are equal if, and only if , They have the same element type, They have the same number of remaining elements, and The two sequences of remaining elements, considered independently of their starting positions , are pointwise equal. I studies these good examples - more examples, but I don't understand the idea.