Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ empty
Method
empty
validating/CircularQueue.java:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
assert invariant();
20
}
21
public
boolean empty() {
22
return
!wrapped && in == out;
23
}
24
public
boolean full() {
25
return
wrapped && in == out;
26
}
Callers
8
get
Method · 0.95
dump
Method · 0.95
main
Method · 0.45
main
Method · 0.45
test
Method · 0.45
main
Method · 0.45
main
Method · 0.45
main
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected