Abstract
You can also have multiple apply methods. For example, we could create another method to default the address field of our customer.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Toby Weston
About this chapter
Cite this chapter
Weston, T. (2018). Faking Function Calls. In: Scala for Java Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3108-1_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3108-1_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3107-4
Online ISBN: 978-1-4842-3108-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)