Chain of Responsibility Java

Am I tripping or this method from the example is wrong?
No description
10 Replies
JavaBot
JavaBot12mo ago
This post has been reserved for your question.
Hey @Rag...JN 🌌 🦡 👽 💰! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Rag...JN 🌌 🦡 👽 💰 🐊
Chain of Responsibility in Java / Design Patterns
Chain of Responsibility pattern in Java. Full code example in Java with detailed comments and explanation. Chain of Responsibility is behavioral design pattern that allows passing request along the chain of potential handlers until one of them handles request.
Rag...JN 🌌 🦡 👽 💰 🐊
you declare a local variable and does all the corny stuff then you return the passed parameter in the first place?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Rag...JN 🌌 🦡 👽 💰 🐊
my question is won't you get the same result when you remove the highlighted part regardless?
No description
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Rag...JN 🌌 🦡 👽 💰 🐊
ok yah I understood thanks
JavaBot
JavaBot12mo ago
If you are finished with your post, please close it. If you are not, please ignore this message. Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
Rag...JN 🌌 🦡 👽 💰 🐊
thanks I didn't see that the chain have life outside
JavaBot
JavaBot12mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server