if (end == null) {
            if (other.end != null) {
                return false;
            }
        } else if (!end.equals(other.end)) {