Module org.spongepowered.plugin.spi
Package org.spongepowered.plugin.builtin
Class StandardBlackboard
java.lang.Object
org.spongepowered.plugin.builtin.StandardBlackboard
- All Implemented Interfaces:
Blackboard
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StandardBlackboard
public StandardBlackboard()
-
-
Method Details
-
set
Description copied from interface:BlackboardSets a value bykey.- Specified by:
setin interfaceBlackboard- Type Parameters:
V- The value type- Parameters:
key- The keyvalue- The value
-
get
- Specified by:
getin interfaceBlackboard- Type Parameters:
V- The value type- Parameters:
key- The key- Returns:
- The value
-
find
- Specified by:
findin interfaceBlackboard- Type Parameters:
V- The value type- Parameters:
key- The key- Returns:
- The value or
Optional.empty()otherwise
-