package jcircus.complementaryenvs; import jcircus.interleaving.ProcessIdSet; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Vector; //@author: Samuel Lincoln Magalhães Barrocas //Maps a channel to a set of process name sets. //Each set of processes is supposed to share a front-end on the channel of the mapping (this is for channels with forced interleaving) public class ChanProcessNameSetEnv { private HashMap > _map; public ChanProcessNameSetEnv () { this._map = new LinkedHashMap > (); } public void put (String channel, Vector set) { this._map.put(channel, set); } public Vector get (String channel) { return this._map.get(channel); } }