MCPcopy Create free account
hub / github.com/apache/bval / reset

Method reset

bval-jsr/src/main/java/org/apache/bval/util/Lazy.java:37–40  ·  view source on GitHub ↗
(Supplier<T> init)

Source from the content-addressed store, hash-verified

35 }
36
37 public Lazy<T> reset(Supplier<T> init) {
38 this.init = Validate.notNull(init);
39 return this;
40 }
41
42 public synchronized Lazy<T> reset(T value) {
43 this.value = value;

Callers 5

LazyMethod · 0.95
addMethod · 0.80
overrideMethod · 0.80
getResultsMethod · 0.80
parseXmlMappingsMethod · 0.80

Calls 1

notNullMethod · 0.95

Tested by

no test coverage detected