- Enclosing class:
RegisterEvent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
default void
Registers the given value with the given name to the registry.
void
Registers the given value with the given name to the registry.
-
Method Details
-
register
Registers the given value with the given name to the registry.
- Parameters:
key
- the resource key of the object to register
value
- the object value
-
register
Registers the given value with the given name to the registry.
- Parameters:
name
- the name of the object to register as its key
value
- the object value