@FunctionalInterface
public interface LampVisitor<A extends CommandActor>
Lamp object. This provides a convenient way of performing additional
registrations or hooks in a modular fashion.
To accept a visitor, use Lamp.accept(LampVisitor).
| Modifier and Type | Method and Description |
|---|---|
static <A extends CommandActor> |
nothing()
Returns a
LampVisitor that does nothing |
void |
visit(@NotNull Lamp<A> lamp)
Visits the given
Lamp |
@NotNull static <A extends CommandActor> @NotNull LampVisitor<A> nothing()
LampVisitor that does nothingA - The actor type