public class DefaultBestMatchStrategy extends java.lang.Object implements BestMatchStrategy
| Constructor and Description |
|---|
DefaultBestMatchStrategy() |
| Modifier and Type | Method and Description |
|---|---|
WarehouseModel |
getBestMatchOfAvailability(java.util.Map<WarehouseModel,java.util.Date> map)
Returns the warehouse which offers the "best" product "availability" .
|
WarehouseModel |
getBestMatchOfQuantity(java.util.Map<WarehouseModel,java.lang.Integer> map)
Returns the warehouse which offers the "best" product "quantity".
|
public WarehouseModel getBestMatchOfQuantity(java.util.Map<WarehouseModel,java.lang.Integer> map)
BestMatchStrategygetBestMatchOfQuantity in interface BestMatchStrategymap - the mapped quantities of a certain productpublic WarehouseModel getBestMatchOfAvailability(java.util.Map<WarehouseModel,java.util.Date> map)
BestMatchStrategygetBestMatchOfAvailability in interface BestMatchStrategymap - the mapped available dates of a certain productCopyright © 2018 SAP SE. All Rights Reserved.