Class ReverseOrderStrategy

  • All Implemented Interfaces:
    java.util.Comparator<PropertyModel>

    public class ReverseOrderStrategy
    extends PropOrderStrategy
    implements java.util.Comparator<PropertyModel>
    Revers ordering strategy
    Author:
    David Kral
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(PropertyModel object1, PropertyModel object2)  
      java.util.List<PropertyModel> sortProperties​(java.util.Collection<PropertyModel> properties)
      Sorts properties
      • 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