Java Doc for UnmodifiableShortCollection.java in » Development » PCJ » bak » pcj » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Creates a new unmodifiable collection on an existing
collection. The result is a collection whose elements and
behaviour is the same as the existing collection's except
that the new collection cannot be modified.
Parameters: c - the existing collection to make unmodifiable. throws: NullPointerException - if c is null.