public boolean equals(Object object) {if (!(object instanceof StringCharacterIterator)) {return false;}StringCharacterIterator it = (StringCharacterIterator) object;return string.equals(it.string) && start == it.start && end == it.end&& offset == it.offset;}
public override bool Equals(object @object){if (!(@object is java.text.StringCharacterIterator)){return false;}java.text.StringCharacterIterator it = (java.text.StringCharacterIterator)@object;return @string.Equals(it.@string) && start == it.start && end == it.end && offset== it.offset;}