npublic static Collection unmodifiableCollection(Collection c);
n
npublic static Set
unmodifiableSet(Set s);
npublic static List unmodifiableList(List list);
npublic static Map
unmodifiableMap(Map m);
n
npublic static SortedSet unmodifiableSortedSet(SortedSet s);
npublic static SortedMap unmodifiableSortedMap(SortedMap m);
n
n
nExemplos
n
nList l =
Arrays.asList(new Object[size]);
nList l = new
ArrayList(Collections.nCopies(1000, null));
n