Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/bval
/ Lazy
Method
Lazy
bval-jsr/src/main/java/org/apache/bval/util/Lazy.java:33–35 ·
view source on GitHub ↗
(Supplier<T> init)
Source
from the content-addressed store, hash-verified
31
private
volatile Supplier<T> init;
32
33
public
Lazy(Supplier<T> init) {
34
reset(init);
35
}
36
37
public
Lazy<T> reset(Supplier<T> init) {
38
this.init = Validate.notNull(init);
Callers
nothing calls this directly
Calls
1
reset
Method · 0.95
Tested by
no test coverage detected