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
-
Method Summary
-
Constructor Details
-
StandardBlackboard
public StandardBlackboard()
-
-
Method Details
-
set
Description copied from interface:Blackboard
Sets a value bykey
.- Specified by:
set
in interfaceBlackboard
- Type Parameters:
V
- The value type- Parameters:
key
- The keyvalue
- The value
-
get
- Specified by:
get
in interfaceBlackboard
- Type Parameters:
V
- The value type- Parameters:
key
- The key- Returns:
- The value
-
find
- Specified by:
find
in interfaceBlackboard
- Type Parameters:
V
- The value type- Parameters:
key
- The key- Returns:
- The value or
Optional.empty()
otherwise
-