How can we use Backed Collections in java?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 24, 2014, 8:00 AM EDT
This means that if you change an element in the original collection, it will automatically change the corresponding element in the backed collection (and vice versa) because they're the same element.
You can't usually tell from the name whether a collection is backed or not - you have to consult the documentation.
Check this link for a simple example of backed collections:
http://newjavafaqs.blogspot.co.uk/2011/03/what-is-backed-collection.html
Abhijeet SinghRank #415 · 6K reputationPosted Mar 28, 2014, 9:48 AM EDT