public class UsageChargeEntryModelSortService extends Object implements ModelSortService<UsageChargeEntryModel>
UsageChargeEntryModel instances. It sorts
instances of TierUsageChargeEntryModel by their "tierStart" attribute (ascending) and adds any instance of
OverageUsageChargeEntryModel to the end of the sorted list.| Constructor and Description |
|---|
UsageChargeEntryModelSortService() |
| Modifier and Type | Method and Description |
|---|---|
List<UsageChargeEntryModel> |
sort(Collection<UsageChargeEntryModel> unsorted)
Returns a sorted
List of the elements in the given Collection. |
public List<UsageChargeEntryModel> sort(Collection<UsageChargeEntryModel> unsorted)
ModelSortServiceList of the elements in the given Collection.sort in interface ModelSortService<UsageChargeEntryModel>unsorted - a Collection of elements to be sortedCopyright © 2017 SAP SE. All Rights Reserved.