MCPcopy Create free account
hub / github.com/M66B/FairEmail / pop

Method pop

app/src/main/java/eu/faircode/email/RingBuffer.java:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 public synchronized T pop() {
42 T item = buffer[out];
43 buffer[out] = null;
44 count--;
45 out = (out + 1) % buffer.length;
46 return item;
47 }
48
49 public synchronized boolean isEmpty() {
50 return (count == 0);

Callers 3

pushMethod · 0.95
dumpMethod · 0.45
parseOptionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected