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 Type
    Method
    Description
    sort(Collection<T> collection)
    Returns a sorted List of the elements in the given Collection.
  • Method Details

    • sort

      @Nullable List<T> sort(@Nullable Collection<T> collection)
      Returns a sorted List of the elements in the given Collection.
      Parameters:
      collection - a Collection of elements to be sorted
      Returns:
      the sorted List of elements