-
Notifications
You must be signed in to change notification settings - Fork 433
AccountShippingCountryComparator
msrivastav13 edited this page Nov 10, 2023
·
3 revisions
An example implementation of the Comparator Interface In this example we show how to sort all the accounts by their country names in alphabetical order
Implemented types
No param constructor. Assigns sort order as ascending by default
Constructor accepting sort order as ascending/descending. Use this constructor to control the sort order.
Param | Description |
---|---|
sortOrder |
This exception class is for throwing a custom exception
Inheritance
ASCComparatorException