Interface ModelSortService<T extends ItemModel>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<T> sort​(java.util.Collection<T> collection)
      Returns a sorted List of the elements in the given Collection.
    • Method Detail

      • sort

        @Nullable
        java.util.List<T> sort​(@Nullable
                               java.util.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