code: private synchronized void setAllMapping() {
  
          //int count_final_sol = 1;
          //System.out.println("Output of the final FinalMappings: ");
          try {
              List<Map<Integer, Integer>> sol = FinalMappings.getInstance().getFinalMapping();
              int counter = 0;
              for (Map<Integer, Integer> finalSolution : sol) {
                  TreeMap<Integer, Integer> atomMappings = new TreeMap<Integer, Integer>();
                  for (Map.Entry<Integer, Integer> solutions : finalSolution.entrySet()) {
  
                      int iIndex = solutions.getKey().intValue();
                      int jIndex = solutions.getValue().intValue();
  
                      if (rOnPFlag) {
                          atomMappings.put(iIndex, jIndex);
                      } else {
                          atomMappings.put(jIndex, iIndex);
                      }
                  }
                  if (!allMCS.contains(atomMappings)) {
                      allMCS.add(counter++, atomMappings);
                  }
              }
  
          } catch (Exception ex) {
              ex.getCause();
          }
  
      }
docs: ~--- get methods --------------------------------------------------------