boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; CommentRange that = (CommentRange)o; if (first != null ? !first.equals(that.first) : that.first != null) return false; if (last != null ? !last.equals(that.last) : that.last != null) return false; return true; }