Interface ModelSortService<T extends ItemModel>
- Type Parameters:
T- item type
- All Known Implementing Classes:
RecurringChargeEntryModelSortService,UsageChargeEntryModelSortService
public interface ModelSortService<T extends ItemModel>
Service interface for sorting collections of model instances.
-
Method Summary
Modifier and TypeMethodDescriptionsort(Collection<T> collection) Returns a sortedListof the elements in the givenCollection.
-
Method Details
-
sort
Returns a sortedListof the elements in the givenCollection.- Parameters:
collection- a Collection of elements to be sorted- Returns:
- the sorted List of elements
-