package de.uni_hildesheim.sse.trans.out;

import java.util.Comparator;

import de.uni_hildesheim.sse.model.varModel.AbstractVariable;

/**
 * {@link Comparator} for {@link AbstractVariable}s.
 * @author El-Sharkawy
 *
 */
public class DeclarationsComparator implements Comparator<AbstractVariable> {
    
    @Override
    public int compare(AbstractVariable o1, AbstractVariable o2) {
        return o1.getName().compareTo(o2.getName());
    }
}
