public static < T > LazyRef < T > of ( Fn0 < T > producer ) { if ( producer == null ) { throw new IllegalArgumentException ( "The producer function cannot be null (the value it returns can)" ) ; } return new LazyRef <> ( producer ) ; }
Construct a LazyRef from the given initialization function .