generated from nus-cs2030/base-template
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PECS #596
Labels
📚 Lecture 08
Queries with regards to Lecture 08
Comments
hi grace, I think there's some examples in this thread: #508 |
thanks joannelxl for redirecting! it's really helpful :) |
hello, Supplier is actually a producer. like the name suggests, it supplies something and doesn't take in anything from the client. therefore it will be Supplier<? extends T>. |
Thanks @shotnothing that's really useful! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
i kinda understand Producer Extends Consumer Super
but who actually are Producers and Consumers? and for Consumers i assume its Supplier?
would appreciate any explanations and examples!!
Topic:
PECS
Screenshots
Screenshots (if any)
The text was updated successfully, but these errors were encountered: