(Supplier<T> supplier)
| 29 | private final Supplier<T> supplier; |
| 30 | |
| 31 | private Lazy(Supplier<T> supplier) { |
| 32 | this.supplier = supplier; |
| 33 | } |
| 34 | |
| 35 | public Optional<T> getIfInitialized() { |
| 36 | return value == null ? Optional.empty() : Optional.ofNullable(value); |
nothing calls this directly
no outgoing calls
no test coverage detected