()
| 299 | } |
| 300 | |
| 301 | public Object clone() |
| 302 | { |
| 303 | Object clonedObject = super.clone(); |
| 304 | DBList clonedList = (DBList)clonedObject; |
| 305 | |
| 306 | int count = this.elementList.size(); |
| 307 | clonedList.elementList = new ArrayList(count); |
| 308 | clonedList.labelMap = new HashMap(count); |
| 309 | for (DBElement element : this.elementList) { |
| 310 | clonedList.addElement((DBElement)element.clone()); |
| 311 | } |
| 312 | return clonedObject; |
| 313 | } |
| 314 | } |
| 315 |
no test coverage detected