MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / getItemRef

Method getItemRef

src/main/java/ui/controls/form/ComplexForm.java:86–90  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

84 }
85
86 public VirtualElement getItemRef(int index) {
87 int size = getFlatList().size();
88 if (index >= size) return null;
89 return (VirtualElement) getFlatList().elementAt(index);
90 }
91 public int getIndexOf(VirtualElement element) {
92 return getFlatList().indexOf(element);
93 }

Callers

nothing calls this directly

Calls 2

getFlatListMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected