Package org.apache.jackrabbit.vault.util
Class CachingSupplier<T>
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.CachingSupplier<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()Uses the cached value from previous get() calls instead of contacting the underlying delegatestatic <T> CachingSupplier<T>of(@NotNull Supplier<T> supplier)
-
-
-
Method Detail
-
of
public static <T> CachingSupplier<T> of(@NotNull @NotNull Supplier<T> supplier)
-
-