Package net.kyori.adventure.pointer
Interface Pointer<V>
- 
- Type Parameters:
 V- the value type
- All Superinterfaces:
 net.kyori.examination.Examinable
public interface Pointer<V> extends net.kyori.examination.ExaminableA pointer to a resource.- Since:
 - 4.8.0
 
 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty>examinableProperties()@NotNull Keykey()Gets the key.static <V> @NotNull Pointer<V>pointer(@NotNull java.lang.Class<V> type, @NotNull Key key)Creates a pointer.@NotNull java.lang.Class<V>type()Gets the value type. 
 - 
 
- 
- 
Method Detail
- 
pointer
@NotNull static <V> @NotNull Pointer<V> pointer(@NotNull @NotNull java.lang.Class<V> type, @NotNull @NotNull Key key)
Creates a pointer.- Type Parameters:
 V- the value type- Parameters:
 type- the value typekey- the key- Returns:
 - the pointer
 - Since:
 - 4.8.0
 
 
- 
type
@NotNull @NotNull java.lang.Class<V> type()
Gets the value type.- Returns:
 - the value type
 - Since:
 - 4.8.0
 
 
- 
key
@NotNull @NotNull Key key()
Gets the key.- Returns:
 - the key
 - Since:
 - 4.8.0
 
 
- 
examinableProperties
@NotNull default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()
- Specified by:
 examinablePropertiesin interfacenet.kyori.examination.Examinable
 
 - 
 
 -