Uses of Interface
ru.progrm_jarvis.javacommons.lazy.Lazy
Packages that use Lazy
-
Uses of Lazy in ru.progrm_jarvis.javacommons.lazy
Classes in ru.progrm_jarvis.javacommons.lazy that implement LazyModifier and TypeClassDescriptionstatic final classThread-safe (using double-checked locking) lazy getting its value from the specified value supplier.static final classThread-safe (using read-write-lock) weak lazy getting its value from the specified value supplier.static final classNon-thread-safe lazy getting its value from the specified value supplier.static final classNon-thread-safe (using double-checked locking) weak lazy getting its value from the specified value supplier.static classLazy which stores its values thread-locally.Methods in ru.progrm_jarvis.javacommons.lazy that return LazyModifier and TypeMethodDescriptionstatic <T> Lazy<T>Creates a new lazy creating its value using the given supplier.static <T> Lazy<T>Lazy.createThreadLocal(@NonNull Supplier<? extends T> valueSupplier) Creates a new thread-local lazy creating its value using the given supplier.static <T> Lazy<T>Lazy.createThreadSafe(@NonNull Supplier<? extends T> valueSupplier) Creates a new thread-safe lazy creating its value using the given supplier.static <T> Lazy<@NotNull T>Lazy.createWeak(@NonNull Supplier<@NotNull ? extends T> valueSupplier) Creates a new weak lazy creating its value using the given supplier.static <T> Lazy<T>Lazy.createWeakThreadSafe(@NonNull Supplier<? extends T> valueSupplier) Creates a new weak thread-safe lazy creating its value using the given supplier.