Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ poll
Method
poll
src/main/java/pascal/taie/util/collection/SetQueue.java:60–70 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
58
}
59
60
@Override
61
public
E poll() {
62
Iterator<E> it = set.iterator();
63
if
(it.hasNext()) {
64
E e = it.next();
65
it.remove();
66
return
e;
67
}
else
{
68
return
null;
69
}
70
}
71
72
@Override
73
public
E peek() {
Callers
15
test
Method · 0.95
testSerializable
Method · 0.95
breadthFirst
Method · 0.80
breadthFirstMaxIter
Method · 0.80
doSolve
Method · 0.80
buildCallGraph
Method · 0.80
reportTop
Method · 0.80
propagateExceptions
Method · 0.80
buildComplete
Method · 0.80
build
Method · 0.80
getFlowNodes
Method · 0.80
computeStates
Method · 0.80
Calls
4
iterator
Method · 0.65
hasNext
Method · 0.65
next
Method · 0.65
remove
Method · 0.65
Tested by
2
test
Method · 0.76
testSerializable
Method · 0.76