Class ServiceNameComparator

  • All Implemented Interfaces:
    java.util.Comparator<Service>

    public class ServiceNameComparator
    extends java.lang.Object
    implements java.util.Comparator<Service>

    ServiceNameComparator class.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    DJ Gregor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(Service s1, Service s2)
      compare
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • ServiceNameComparator

        public ServiceNameComparator()
    • Method Detail

      • compare

        public int compare​(Service s1,
                           Service s2)

        compare

        Specified by:
        compare in interface java.util.Comparator<Service>
        Parameters:
        s1 - a Service object.
        s2 - a Service object.
        Returns:
        a int.