private static boolean areIntersectionsEquivalent(RegExpIntersection intersection1, RegExpIntersection intersection2) {
    return areElementArraysEquivalent(intersection1.getOperands(), intersection2.getOperands(), true);
  }
private static boolean areIntersectionsEquivalent(RegExpIntersection intersection1, RegExpIntersection intersection2)