Chain of Responsibility Java
Am I tripping or this method from the example is wrong?
10 Replies
⌛
This post has been reserved for your question.
Hey @Rag...JN 🌌 🦡 👽 💰! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose 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.
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.
you declare a local variable and does all the corny stuff then you return the passed parameter in the first place?
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
my question is
won't you get the same result when you remove the highlighted part regardless?
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
ok yah I understood
thanks
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.
thanks
I didn't see that the
chain
have life outside💤
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.