Demand Filler Finder
Default DemandFillerFinderIfc implementation backed by a customer-to-supplier map. Each DemandSenderIfc (customer) maps to at most one DemandFillerIfc (supplier); a supplier may serve many customers.
See sc.inventorylayer.DemandFillerFinder
Functions
Link copied to clipboard
True iff customer has been registered.
Link copied to clipboard
True iff filler appears as a supplier for at least one customer.
Link copied to clipboard
Look up the filler for the sender of demand. Returns null if the demand's sender has no registered supplier. (Java threw NoDemandFillerFoundException here; we honor the nullable contract of DemandFillerFinderIfc and let the caller decide.)
Link copied to clipboard
Register or replace the supplier for customer. Returns the prior supplier, if any.