static boolean tablesAreEquals(HashMap<String,HashSet<ArrayList<String>>> prev,HashMap<String,HashSet<ArrayList<String>>> cur ){
            Set<String> keySet = prev.keySet();
            for(String leftPart : keySet){
                HashSet<ArrayList<String>> prevRightPart = prev.get(leftPart);
                HashSet<ArrayList<String>> curRightPart = cur.get(leftPart);
                if(!prevRightPart.containsAll(curRightPart) || !curRightPart.containsAll(prevRightPart)) return false;
                
            }
            return true;
    }