Class Lazy<T>
java.lang.Object
net.neoforged.neoforge.common.util.Lazy<T>
- Type Parameters:
T- The type of the value
- All Implemented Interfaces:
Supplier<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
delegate
-
cachedValue
-
-
Constructor Details
-
Lazy
-
-
Method Details
-
of
-
invalidate
public void invalidate()Invalidates the cache, causing the supplier to be called again on the next access. -
get
-