/*
 * NumberedObject
 *
 * Created on 12.01.2009
 * Copyright (c) 2008 Kiesraad
 */
package de.ivu.wahl.result;

import java.util.Comparator;

/**
 * An object that has an integer number. This is mainly used for sorting purpose.
 *
 * @author , IVU Traffic Technologies AG
 */
public interface NumberedObject {
  Comparator<NumberedObject> SORT_BY_NUMBER = Comparator.comparingInt(o -> o.getNumber());

  int getNumber();

}
