src/main/java/cursor/rybak/model/maze/map/MazeMap.java
/**
     * create LinkedList of Locations for
     * particular line
     *
     * @param col     column in maze[][]
     * @param row     row in maze[][]
     * @param keys    StringBuilder to create general key
     * @param line    List of current line
     * @param mazeMap map of our maze
     */
create LinkedList of Locations for
particular line


create LinkedList of Locations for particular line
private static void addToLineLocation(int col,
                                          int row,
                                          StringBuilder keys,
                                          List<Location> line,
                                          Map<String, Location> mazeMap) {
        String key = generateLocationMapKey(col, row);
        String keyLines = ";" + key + ";";
        keys.append(keyLines);
        line.add(mazeMap.get(key));
    }
private static void addToLineLocation ( int col , int row , StringBuilder keys , List < Location > line , Map < String , Location > mazeMap ) { String key = generateLocationMapKey ( col , row ) ; String keyLines = ";" + key + ";" ; keys . append ( keyLines ) ; line . add ( mazeMap . get ( key ) ) ; }
create LinkedList of Locations for
 particular line
create LinkedList of Locations for particular line