Interface ItemOrderComparer

    • Method Detail

      • compare

        int compare​(Item a,
                    Item b)
        Compare two objects.
        Specified by:
        compare in interface Comparator<Item>
        Returns:
        <0 if a<b, 0 if a=b, >0 if a>b