Package ru.progrm_jarvis.javacommons.lazy
package ru.progrm_jarvis.javacommons.lazy
Abstractions around lazy evaluation paradigm.
-
ClassDescriptionLazy<T>A wrapper for a value initialized once needed.Thread-safe (using double-checked locking) lazy getting its value from the specified value supplier.Thread-safe (using read-write-lock) weak lazy getting its value from the specified value supplier.Non-thread-safe lazy getting its value from the specified value supplier.Non-thread-safe (using double-checked locking) weak lazy getting its value from the specified value supplier.Lazy which stores its values thread-locally.