Archive for Creating a Copy of a Collection

You are browsing the archives of Creating a Copy of a Collection.

Java Util Examples List part-II (data structures in java)

21. Creating a Copy of a Collection
This tells how to create and then copy the collection. The copied collection contains the reference to the object. In-fact, objects are not cloned.

22. Making a Collection Read-Only
This section describes you how to make a collection read-only. In this section, list (component of the collection) has been represented for making it [...]