How can we use Backed Collections in java?
How can we use Backed Collections in java?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhijeet SinghPosted Mar 28, 2014, 1:48 PM
VulpesPosted Mar 24, 2014, 12:00 PM
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