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

Method LazyInt

bval-jsr/src/main/java/org/apache/bval/util/LazyInt.java:29–31  ·  view source on GitHub ↗
(IntSupplier init)

Source from the content-addressed store, hash-verified

27 private volatile IntSupplier init;
28
29 public LazyInt(IntSupplier init) {
30 this.init = Validate.notNull(init);
31 }
32
33 @Override
34 public int getAsInt() {

Callers

nothing calls this directly

Calls 1

notNullMethod · 0.95

Tested by

no test coverage detected