MCPcopy Create free account
hub / github.com/boazy/TWEditorEnhanced / clone

Method clone

src/main/java/DBList.java:301–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

addSelectedItemMethod · 0.95
addSelectedItemMethod · 0.95

Calls 1

addElementMethod · 0.95

Tested by

no test coverage detected