Named is a container that associates a name with a given payload.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public T | |
| public static < the type of the payload T extends @Nullable Object> Named | |
| public static < the type of the payload T extends @Nullable Object> Named |
| getName | back to summary |
|---|---|
| public String getName() Get the name of the payload.
| |
| getPayload | back to summary |
|---|---|
| public T getPayload() Get the payload.
| |
| named | back to summary |
|---|---|
| public static <T extends @Nullable Object> Named Factory method for creating an instance of This method is an alias for | |
| of | back to summary |
|---|---|
| public static <T extends @Nullable Object> Named Factory method for creating an instance of
| |