Interface ProductsSortStrategy<T>
- Type Parameters:
T- the type parameter
- All Known Implementing Classes:
LowestFareStrategy
public interface ProductsSortStrategy<T>
Strategy to order the products in a collection.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStrategy(List<? extends T> productDatas) Method to apply the ordering of products in a collection.
-
Method Details
-
applyStrategy
Method to apply the ordering of products in a collection.- Parameters:
productDatas- the product datas
-