JoinerScheduleNode current = new JoinerScheduleNode(Util.getJoinerType(dest));
JoinerScheduleNode current = new JoinerScheduleNode(CommonUtils.getJoinerType(dest));
    private void updateJoinerDestination(HashSet visited, FlatNode src, FlatNode dest,                                         SimulationCounter counters)     {        //decrement the joiners incoming buffer?        counters.decrementBufferCount(dest, 1);        //System.out.println(src.contents.getName() + " to joiner Buffer (Receive): " + joinerBuffer);//            //get the buffer this item is being sent to..        String joinerBuffer = buildJoinerBufferString(src, src.edges[0], dest);        //record that the data was placed in this buffer...        counters.incrementJoinerBufferCount(dest, joinerBuffer);        //add to the joiner code for this dest        JoinerScheduleNode current = new JoinerScheduleNode(Util.getJoinerType(dest));        current.buffer = joinerBuffer;        //if we have seen this dest already, then we are passing        //thru a duplicate splitter with identity filters...        //create the code to duplicate the item inside the joiner        if (visited.contains(dest))            current.type = JoinerScheduleNode.DUPLICATE;        else //otherwise, normal receive            current.type = JoinerScheduleNode.RECEIVE;        addJoinerCode(dest, current);            visited.add(dest);    }