Class LazyValue<T>
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.util.LazyValue<T>
-
- Type Parameters:
T- the type of the lazy initalized value.
public final class LazyValue<T> extends java.lang.ObjectA lazy initialized value that is initialized once when retrieved. Not thread safe.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLazyValue.Builder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> LazyValue.Builder<T>builder()Tvalue()
-
-
-
Method Detail
-
builder
public static <T> LazyValue.Builder<T> builder()
-
value
public T value()
-
-