http://java.sun.com/developer/technicalArticles//Collections/Using/#toi
source:sun complexity:medium depth:medium style:verygood
satya - Saturday, August 16, 2008 10:25:57 AM
Cloning collections
private List cloneAllConnections()
{
List newone = new ArrayList();
newone.addAll(oldCollection);
return newone;
}
satya - Saturday, August 16, 2008 10:27:42 AM
Is it necessary to clone a list when the iteration updates the original list?
Is it necessary to clone a list when the iteration updates the original list?