diff --git a/src/org/ntlab/deltaViewer/CollaborationAliasCollector.java b/src/org/ntlab/deltaViewer/CollaborationAliasCollector.java new file mode 100644 index 0000000..89345f9 --- /dev/null +++ b/src/org/ntlab/deltaViewer/CollaborationAliasCollector.java @@ -0,0 +1,36 @@ +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 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 getAliasList() { + return aliasList; + } + + public void merge(DeltaAliasCollector dac) { + for (Alias alias: dac.getAliasList()) { + + } + } +}