Class LazyProperty<T>
java.lang.Object
dev.prozilla.pine.common.property.LazyProperty<T>
- Direct Known Subclasses:
SystemProperty
A property that does not have a value until it is used for the first time.
This type of property is optimized, because the value will only be fetched once in most cases. This is especially useful for values that are expensive to fetch.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.Property
getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, replaceNull, requireValue, snapshot, toStringProperty