com.mangofactory.swagger.ordering
Class ApiDescriptionLexicographicalOrdering

java.lang.Object
  extended by com.google.common.collect.Ordering<com.mangofactory.swagger.models.dto.ApiDescription>
      extended by com.mangofactory.swagger.ordering.ApiDescriptionLexicographicalOrdering
All Implemented Interfaces:
java.util.Comparator<com.mangofactory.swagger.models.dto.ApiDescription>

public class ApiDescriptionLexicographicalOrdering
extends com.google.common.collect.Ordering<com.mangofactory.swagger.models.dto.ApiDescription>


Constructor Summary
ApiDescriptionLexicographicalOrdering()
           
 
Method Summary
 int compare(com.mangofactory.swagger.models.dto.ApiDescription apiDescription, com.mangofactory.swagger.models.dto.ApiDescription other)
           
 
Methods inherited from class com.google.common.collect.Ordering
allEqual, arbitrary, binarySearch, compound, compound, explicit, explicit, from, from, greatestOf, greatestOf, immutableSortedCopy, isOrdered, isStrictlyOrdered, leastOf, leastOf, lexicographical, max, max, max, max, min, min, min, min, natural, nullsFirst, nullsLast, onResultOf, reverse, sortedCopy, usingToString
 
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

ApiDescriptionLexicographicalOrdering

public ApiDescriptionLexicographicalOrdering()
Method Detail

compare

public int compare(com.mangofactory.swagger.models.dto.ApiDescription apiDescription,
                   com.mangofactory.swagger.models.dto.ApiDescription other)
Specified by:
compare in interface java.util.Comparator<com.mangofactory.swagger.models.dto.ApiDescription>
Specified by:
compare in class com.google.common.collect.Ordering<com.mangofactory.swagger.models.dto.ApiDescription>