Interface DataValue<T>
-
- Type Parameters:
T
- Type of the value.
- All Known Implementing Classes:
BooleanDataValue
,BuiltDataValue
,DoubleDataValue
,GroupsDataValue
,NumberDataValue
,StringDataValue
,TableDataValue
public interface DataValue<T>
Represents a value given toExtensionDataBuilder
.Please do not implement this class, it is an implementation detail. Obtain instances with
ValueBuilder
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <M> M
getInformation(java.lang.Class<M> ofType)
default <I extends DataValue<T>>
java.util.Optional<I>getMetadata(java.lang.Class<I> metadataType)
T
getValue()
-