text: public override bool Equals(object other){if (!(other is java.nio.FloatBuffer)){return false;}java.nio.FloatBuffer otherBuffer = (java.nio.FloatBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFar && (myPosition < _limit)){float a = get(myPosition++);float b = otherBuffer.get(otherPosition++);equalSoFar = a == b || (a != a && b != b);}return equalSoFar;}