Package org.apache.myfaces.util.lang
Class Lazy<T>
- java.lang.Object
-
- org.apache.myfaces.util.lang.Lazy<T>
-
- Type Parameters:
T- The type to be lazy initialized.
public class Lazy<T> extends Object
Inspired by commons-lang LazyInitializer.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()booleanisInitialized()voidreset(Supplier<T> init)voidreset(T value)
-