jodd-core/src/main/java/jodd/mutable/LazyValue.java
@Override
	public T get() {
		if (!initialized) {
			synchronized (this) {
				if (!initialized) {
					final T t = supplier.get();
					value = t;
					initialized = true;
					supplier = null;
					return t;
				}
			}
		}
		return value;
	}
@Override
	public T get() {
		if (!initialized) {
			synchronized (this) {
				if (!initialized) {
					final T t = supplier.get();
					value = t;
					initialized = true;
					supplier = null;
					return t;
				}
			}
		}
		return value;
	}
@ Override public T get ( ) { if ( ! initialized ) { synchronized ( this ) { if ( ! initialized ) { final T t = supplier . get ( ) ; value = t ; initialized = true ; supplier = null ; return t ; } } } return value ; }
Returns the value. Value will be computed on first call.
Returns the value . Value will be computed on first call .