vector / com.haroldadmin.vector / vectorLazy

vectorLazy

class vectorLazy<out T> :Lazy<T>

A lazy delegate class, which takes in an initializer to initialize its underlying property. Implements the double-checked locking algorithm.

Constructors

Name Summary
<init> vectorLazy(initializer: () ->T)
A lazy delegate class, which takes in an initializer to initialize its underlying property. Implements the double-checked locking algorithm.

Properties

Name Summary
value val value:T

Functions

Name Summary
isInitialized fun isInitialized():Boolean