Class ConstantLifecycled<T>
java.lang.Object
com.sk89q.worldedit.util.lifecycle.ConstantLifecycled<T>
- All Implemented Interfaces:
Lifecycled<T>
A
Lifecycled
that never invalidates.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sk89q.worldedit.util.lifecycle.Lifecycled
Lifecycled.Events<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevents()
Get the event manager for this lifecycled object.value()
Get the value orOptional.empty()
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.util.lifecycle.Lifecycled
filter, flatMap, isValid, map, valueOrThrow
-
Constructor Details
-
ConstantLifecycled
-
-
Method Details
-
value
Description copied from interface:Lifecycled
Get the value orOptional.empty()
.- Specified by:
value
in interfaceLifecycled<T>
- Returns:
- the value
-
events
Description copied from interface:Lifecycled
Get the event manager for this lifecycled object.- Specified by:
events
in interfaceLifecycled<T>
- Returns:
- the event manager
-