com.jalios.jcms
Class Data.OpAuthorComparator<T extends Data>

java.lang.Object
  extended by com.jalios.jstore.BasicStorable.CdateComparator<T>
      extended by com.jalios.jcms.Data.OpAuthorComparator<T>
Type Parameters:
T -
All Implemented Interfaces:
Comparator<T>
Enclosing class:
Data

public static class Data.OpAuthorComparator<T extends Data>
extends BasicStorable.CdateComparator<T>

Since:
jcms-4.0

Constructor Summary
Data.OpAuthorComparator()
          Build a new OpAuthor comparator using a NameComparator to compare Member
Data.OpAuthorComparator(Comparator<Member> memberComparator)
           
 
Method Summary
 int compare(T d1, T d2)
           
 
Methods inherited from class com.jalios.jstore.BasicStorable.CdateComparator
compareDate
 
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
 

Constructor Detail

Data.OpAuthorComparator

public Data.OpAuthorComparator()
Build a new OpAuthor comparator using a NameComparator to compare Member

Since:
jcms-7.1.0

Data.OpAuthorComparator

public Data.OpAuthorComparator(Comparator<Member> memberComparator)
Method Detail

compare

public int compare(T d1,
                   T d2)
Specified by:
compare in interface Comparator<T extends Data>
Overrides:
compare in class BasicStorable.CdateComparator<T extends Data>


Copyright © 2001-2010 Jalios SA. All Rights Reserved.