Interface DataValue<T>
- Type Parameters:
T
- Type of the value.
public interface DataValue<T>
Represents a value given to
ExtensionDataBuilder
.
Please do not implement this class, it is an implementation detail.
Obtain instances with ValueBuilder
.
-
Method Summary
Modifier and TypeMethodDescription<M> M
getInformation(Class<M> ofType)
getMetadata(Class<I> metadataType)
getValue()
-
Method Details
-
getValue
T getValue() -
getInformation
-
getMetadata
-