MCPcopy Create free account
hub / github.com/Deepali-Srivastava/data-structures-and-algorithms-in-java / insert

Method insert

Tree/heap/Heap.java:27–32  ·  view source on GitHub ↗
(int value)

Source from the content-addressed store, hash-verified

25 a[0]=99999;
26 }
27 public void insert(int value)
28 {
29 n++;
30 a[n]=value;
31 restoreUp(n);
32 }
33
34 private void restoreUp(int i)
35 {

Callers 1

mainMethod · 0.95

Calls 1

restoreUpMethod · 0.95

Tested by

no test coverage detected