Professional Documents
Culture Documents
import java.util.ArrayList;
import java.util.List;
/**
* Bootstrap class for invoking the Supermarket from the command line.
*/
class Program
/**
* Program main
* @param args First argument is used as the item token string to be sent to the Supermarket for
checkout.
*/
if (item != null)
checkout(item);
/**
*/
priceRules.add(new BaseUnitPriceRule());
return total;
}
/**
* @param args First argument is used as the item token string to be sent to the Supermarket for
checkout
*/
if (args == null)
}
else
item = args[0];
if (item == null)
usage();
return item;
Terms
Privacy
Security
Status
Docs
Contact GitHub
Pricing
API
Training
Blog
About