java.lang.Object
edu.hm.hafner.analysis.util.Deferred<T>
- Typparameter:
T- type of the instance
Deferred element wrapper of a singleton instance. Creates a constant instance when it is accessed the first time.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
Deferred
Creates a new instance that creates a singleton when it is accessed the first time.- Parameter:
supplier- the supplier to create the instance
-
-
Methodendetails
-
get
Returns the instance. If not yet created the instance will be created.- Gibt zurück:
- the instance
-