- java.lang.Object
-
- org.apache.johnzon.core.JsonProviderImpl.Cached<T>
-
- Type Parameters:
T- the type of the cached instance.
- All Implemented Interfaces:
java.util.function.Supplier<T>
- Enclosing class:
- JsonProviderImpl
private static class JsonProviderImpl.Cached<T> extends java.lang.Object implements java.util.function.Supplier<T>Enables to not allocate potentially big instances or delay the initialization but ensure it happens only once.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()
-