Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clojure/clojure
/ peek
Method
peek
src/jvm/clojure/lang/PersistentQueue.java:103–105 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
101
}
102
103
public
Object peek(){
104
return
RT.first(f);
105
}
106
107
public
PersistentQueue pop(){
108
if
(f == null)
//hmmm... pop of empty queue -> empty queue?
Callers
nothing calls this directly
Calls
1
first
Method · 0.95
Tested by
no test coverage detected