Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clojure/clojure
/ setState
Method
setState
src/jvm/clojure/lang/Agent.java:176–181 ·
view source on GitHub ↗
(Object newState)
Source
from the content-addressed store, hash-verified
174
}
175
176
boolean setState(Object newState) {
177
validate(newState);
178
boolean ret = state != newState;
179
state = newState;
180
return
ret;
181
}
182
183
public
Object deref() {
184
return
state;
Callers
2
Agent
Method · 0.95
doRun
Method · 0.80
Calls
1
validate
Method · 0.80
Tested by
no test coverage detected