
package de.ivu.elect.business.benutzerverwaltung.entity;

import java.io.Serializable;
import java.util.Comparator;

public class RolleByNameComparator implements Comparator<Rolle>, Serializable {

  private static final long serialVersionUID = 1L;

  public RolleByNameComparator() {
    super();
  }

  @Override
  public int compare(Rolle one, Rolle another) {
    return one.getName().compareTo(another.getName());
  }
}
