Class ComparatorServiceImpl

  • All Implemented Interfaces:
    ComparatorService<java.lang.Class<?>>

    public class ComparatorServiceImpl
    extends java.lang.Object
    implements ComparatorService<java.lang.Class<?>>
    ComparatorService default implementation provides six default comparators for all component types and event by mapping the expectation class to a comparator instance. User may define additional comparators by providing the expectation class and associated comparator.
    Author:
    Ikasan Development Team
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ExpectationComparator<?,​?> getComparator​(java.lang.Class<?> cls)
      Utility method for finding the comparator for an expectation class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComparatorServiceImpl

        public ComparatorServiceImpl()
    • Method Detail

      • getComparator

        public ExpectationComparator<?,​?> getComparator​(java.lang.Class<?> cls)
        Utility method for finding the comparator for an expectation class.
        Specified by:
        getComparator in interface ComparatorService<java.lang.Class<?>>
        Parameters:
        cls -
        Returns: