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

Method removeElement

src/main/java/DBList.java:36–45  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

34 }
35
36 public DBElement removeElement(int index)
37 {
38 DBElement element = (DBElement)this.elementList.get(index);
39 this.elementList.remove(index);
40 String label = element.getLabel();
41 if (label.length() != 0) {
42 this.labelMap.remove(label);
43 }
44 return element;
45 }
46
47 public boolean removeElement(String label)
48 {

Callers 5

actionPerformedMethod · 0.95
actionPerformedMethod · 0.95
removeSelectedItemMethod · 0.95
removeSelectedItemMethod · 0.95
actionPerformedMethod · 0.95

Calls 2

getLabelMethod · 0.95
getLabelMethod · 0.45

Tested by

no test coverage detected