Interface ActorComparator

  • All Superinterfaces:
    Comparator<Actor>
    All Known Implementing Classes:
    DefaultActorComparator

    public interface ActorComparator
    extends Comparator<Actor>
    Interface for comparators designed to compare actors.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • compare

        int compare​(Actor o1,
                    Actor o2)
        For comparing actors.
        Specified by:
        compare in interface Comparator<Actor>
        Parameters:
        o1 - the first actor
        o2 - the second actor
        Returns:
        less than, equal to, or greater than if the first actor is less than, equal to, or greater than the second actor