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