Package net.kyori.adventure.key
Interface KeyedValue<T>
- Type Parameters:
T- the value type
- All Superinterfaces:
Keyed
public interface KeyedValue<T> extends Keyed
A
T value with an associated Key.- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description static <T> @NonNull KeyedValue<T>of(@NonNull Key key, @NonNull T value)Creates a link.@NonNull Tvalue()Gets the value.