Newer
Older
MagnetRON / src / org / ntlab / deltaViewer / CollaborationAliasCollector.java
package org.ntlab.deltaViewer;

import java.util.ArrayList;
import java.util.List;

import org.ntlab.deltaExtractor.Alias;
import org.ntlab.deltaExtractor.IAliasCollector;

public class CollaborationAliasCollector implements IAliasCollector {
	// Reverse execution order.
	private List<Alias> aliasList = new ArrayList<>();

	public CollaborationAliasCollector(DeltaAliasCollector dac) {
		aliasList.addAll(dac.getAliasList());
	}
	
	/*
	 * Do nothing!
	 */
	@Override
	public void addAlias(Alias alias) {
		// TODO Auto-generated method stub

	}

	@Override
	public List<Alias> getAliasList() {
		return aliasList;
	}

	public void merge(DeltaAliasCollector dac) {
		for (Alias alias: dac.getAliasList()) {
			
		}
	}
}