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

Method dequeue

src/test/resources/pta/taint/LinkedQueue.java:43–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 public String dequeue() {
44 if (isEmpty())
45 return null;
46 String item = first.item;
47 first = first.next;
48 n--;
49 if (isEmpty())
50 last = null;
51 return item;
52 }
53
54 public static void main(String[] args) {
55 LinkedQueue queue = new LinkedQueue();

Callers 1

mainMethod · 0.95

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected