Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Observer Design Pattern using Java!
You have completed Observer Design Pattern using Java!
Preview
Let's finish up our simulation improvements by adding a new tool that observes tables, the restaurant pager!
Additional possible pitfalls
- Careful of the state being stale see the Specific Implementation Problems section.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
So I'm just gonna copy this part of it and
I'm gonna get rid of the rest of this.
0:00
This whole switch here,
let's get rid of that.
0:02
And I'm gonna flip over to the assistant.
0:05
And in here, it's complaining so
implement the methods.
0:09
And I'm gonna pull out right away.
0:14
I'm gonna pull out that table.
0:16
Just like before,
we'll do that downcast to a table.
0:21
And we know that if
the status of the table,
0:25
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up