Decompose/NetDecom.java
private void put(List<PetriNet4> sNets, SortedMap<Integer, List<PetriNet4>> dGraph) {
		for (PetriNet4 n : sNets) {
			int key = n.getTransNum();
			List<PetriNet4> v = dGraph.get(key);
			if (v == null) {
				v = new ArrayList<PetriNet4>();
				v.add(n);
				dGraph.put(key, v);
			} else {
				v.add(n);
			}
		}
	}
//put a net into a list of net
put a net into a list of net
put a net into a list of net
private void put(List<PetriNet4> sNets, SortedMap<Integer, List<PetriNet4>> dGraph) {
		for (PetriNet4 n : sNets) {
			int key = n.getTransNum();
			List<PetriNet4> v = dGraph.get(key);
			if (v == null) {
				v = new ArrayList<PetriNet4>();
				v.add(n);
				dGraph.put(key, v);
			} else {
				v.add(n);
			}
		}
	}
private void put ( List < PetriNet4 > sNets , SortedMap < Integer , List < PetriNet4 > > dGraph ) { for ( PetriNet4 n : sNets ) { int key = n . getTransNum ( ) ; List < PetriNet4 > v = dGraph . get ( key ) ; if ( v == null ) { v = new ArrayList < PetriNet4 > ( ) ; v . add ( n ) ; dGraph . put ( key , v ) ; } else { v . add ( n ) ; } } }
put a net into a list of net
put a net into a list of net