MCPcopy Index your code
hub / github.com/hediet/vscode-debug-visualizer / append

Method append

demos/java/src/app/App.java:20–30  ·  view source on GitHub ↗
(T value)

Source from the content-addressed store, hash-verified

18 private Node<T> head;
19
20 public void append(T value) {
21 if (head == null) {
22 head = new Node<T>(value);
23 } else {
24 Node<T> m = head;
25 while (m.next != null) {
26 m = m.next;
27 }
28 m.next = new Node<T>(value);
29 }
30 }
31
32 public String visualize() {
33 Node<T> list = new Node<T>(null);

Callers 5

mainMethod · 0.95
index.tsxFile · 0.80
addParentMethod · 0.80
visualizePersonMethod · 0.80
graph.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected