return Collections.unmodifiableList(new ArrayList( myInternalList ));
a it is far more efficient than making a defensive copy and then wrapping the defensive copy in a read-only wrapper. Also used whenever a read-only reference List is needed (such as in Fqns).
@author Manik Surtani (manik AT jboss DOT org)
@since 3.0
|
|
|
|
|
|