Class PropertyServiceReferenceComparator<T>

java.lang.Object
com.liferay.osgi.service.tracker.collections.map.PropertyServiceReferenceComparator<T>
All Implemented Interfaces:
Serializable, Comparator<org.osgi.framework.ServiceReference<T>>

public class PropertyServiceReferenceComparator<T> extends Object implements Comparator<org.osgi.framework.ServiceReference<T>>, Serializable
See Also:
  • Constructor Details

    • PropertyServiceReferenceComparator

      public PropertyServiceReferenceComparator(String propertyKey)
  • Method Details

    • compare

      public int compare(org.osgi.framework.ServiceReference<T> serviceReference1, org.osgi.framework.ServiceReference<T> serviceReference2)
      Specified by:
      compare in interface Comparator<T>