public class CustomerDB
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Customer |
findCustomer(java.lang.String customerID)
Returns the customer for a given customer id.
|
static CustomerDB |
getInstance()
Returns the instance of this class.
|
public static CustomerDB getInstance()
public Customer findCustomer(java.lang.String customerID)
customerID
- null
if
no such customer exsits.