johanv's avatar

johanv

johanv

Member since

15

Total Reputation

1

Total Arguments

1

Total Votes for Arguments

Arguments and votes

1

If I have an interface with getItem(), hasItem() and a findItem() methods , it would like to provide a default implementation for hasItem() and getItem() that use findItem().

This way I don't need to create a trait for this .

Share:
Read the RFC: Interface Default Methods johanv avatar
johanv
voted yes
RSS Feed Contribute Watch on YouTube Our License
© 2024 RFC Vote. This project is open source. Contribute and collaborate with us!