Skip to content
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

CollectionUtils.lastElement for common Set/List extraction [SPR-16374] #20920

spring-issuemaster opened this issue Jan 12, 2018 · 0 comments


None yet
2 participants
Copy link

commented Jan 12, 2018

Juergen Hoeller opened SPR-16374 and commented

There is a recurring need for extracting the last element of a given Set or List, usually leading to a similar implementation pattern - and sometimes suboptimal variants thereof. A common CollectionUtils.lastElement delegate improves proper reuse as well as readability.

Referenced from: commits 06e6386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.