Class Data.OpAuthorComparator<T extends Data>

  • Type Parameters:
    T - any Data type
    All Implemented Interfaces:
    java.util.Comparator<T>
    Enclosing class:
    Data

    public static class Data.OpAuthorComparator<T extends Data>
    extends BasicStorable.CdateComparator<T>
    Since:
    jcms-4.0
    • Constructor Summary

      Constructors 
      Constructor Description
      OpAuthorComparator()
      Build a new OpAuthor comparator using a NameComparator to compare Member
      OpAuthorComparator​(java.util.Comparator<Member> memberComparator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(T d1, T d2)  
      • 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

      • OpAuthorComparator

        public OpAuthorComparator()
        Build a new OpAuthor comparator using a NameComparator to compare Member
        Since:
        jcms-7.1.0
      • OpAuthorComparator

        public OpAuthorComparator​(java.util.Comparator<Member> memberComparator)