Class LazySorter

  • All Implemented Interfaces:
    java.util.Comparator<br.com.jarch.model.IIdentity>

    public class LazySorter
    extends java.lang.Object
    implements java.util.Comparator<br.com.jarch.model.IIdentity>
    • Constructor Summary

      Constructors 
      Constructor Description
      LazySorter​(java.lang.String sortField, org.primefaces.model.SortOrder sortOrder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(br.com.jarch.model.IIdentity entity1, br.com.jarch.model.IIdentity entity2)  
      • 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

      • LazySorter

        public LazySorter​(java.lang.String sortField,
                          org.primefaces.model.SortOrder sortOrder)
    • Method Detail

      • compare

        public int compare​(br.com.jarch.model.IIdentity entity1,
                           br.com.jarch.model.IIdentity entity2)
        Specified by:
        compare in interface java.util.Comparator<br.com.jarch.model.IIdentity>