MCPcopy Create free account
hub / github.com/LFYSec/MScan / MaxPQ

Method MaxPQ

src/test/resources/cha/MaxPQ.java:10–13  ·  view source on GitHub ↗

Initializes an empty priority queue with the given initial capacity. @param initCapacity the initial capacity of this priority queue

(int initCapacity)

Source from the content-addressed store, hash-verified

8 * @param initCapacity the initial capacity of this priority queue
9 */
10 public MaxPQ(int initCapacity) {
11 pq = new int[initCapacity + 1];
12 n = 0;
13 }
14
15 /**
16 * Initializes an empty priority queue.

Callers

nothing calls this directly

Calls 1

sinkMethod · 0.95

Tested by

no test coverage detected