public static < Q > LocklessLazyVar < Q > make ( final LazyVarInit < Q > closure ) { return new LocklessLazyVar < Q > ( ) { protected Q init ( ) { return closure . init ( ) ; } } ; }
Creates a new LockingLazyVar based on the type of the LazyVarInit passed in . This method is intended to be called with a lambda or block from Gosu .