LongRangeSet (LongRangeSet other, LongRangeType lrType) { if (other.isEmpty()) return other; if (other instanceof Point) { long res = myValue + ((Point)other).myValue; return point(lrType.cast(res)); } return other.plus(this, lrType); }