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 Type
    Method
    Description
    void
    applyStrategy(List<? extends T> productDatas)
    Method to apply the ordering of products in a collection.
  • Method Details

    • applyStrategy

      void applyStrategy(List<? extends T> productDatas)
      Method to apply the ordering of products in a collection.
      Parameters:
      productDatas - the product datas