public boolean equals(Object other) {if (!(other instanceof IntBuffer)) {return false;}IntBuffer otherBuffer = (IntBuffer) other;if (remaining() != otherBuffer.remaining()) {return false;}int myPosition = position;int otherPosition = otherBuffer.position;boolean equalSoFar = true;while (equalSoFar && (myPosition < limit)) {equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}

public boolean equals ( Object other ) { if ( ! ( other instanceof IntBuffer ) ) { return false ; } IntBuffer otherBuffer = ( IntBuffer ) other ; if ( remaining ( ) != otherBuffer . remaining ( ) ) { return false ; } int myPosition = position ; int otherPosition = otherBuffer . position ; boolean equalSoFar = true ; while ( equalSoFar && ( myPosition < limit ) ) { equalSoFar = get ( myPosition ++ ) == otherBuffer . get ( otherPosition ++ ) ; } return equalSoFar ; }
public override bool Equals(object other){if (!(other is java.nio.IntBuffer)){return false;}java.nio.IntBuffer otherBuffer = (java.nio.IntBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFar && (myPosition < _limit)){equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}
