Package org.spongepowered.api.data
Interface ImmutableDataProviderBuilder<H extends DataHolder,V extends Value<E>,E>
- All Superinterfaces:
AbstractBuilder<DataProvider<? extends Value<E>,
,E>> Builder<DataProvider<? extends Value<E>,
,E>, ImmutableDataProviderBuilder<H, V, E>> ResettableBuilder<DataProvider<? extends Value<E>,
E>, ImmutableDataProviderBuilder<H, V, E>>
public interface ImmutableDataProviderBuilder<H extends DataHolder,V extends Value<E>,E>
extends Builder<DataProvider<? extends Value<E>,E>,ImmutableDataProviderBuilder<H,V,E>>
-
Method Summary
Modifier and TypeMethodDescriptionDataProvider
<? extends Value<E>, E> build()
<NH extends H>
ImmutableDataProviderBuilder<NH, V, E> dataHolder
(io.leangen.geantyref.TypeToken<NH> holder) <NH extends H>
ImmutableDataProviderBuilder<NH, V, E> dataHolder
(Class<NH> holder) <NV extends Value<NE>,
NE>
ImmutableDataProviderBuilder<H, NV, NE> set
(BiFunction<H, E, H> set)
-
Method Details
-
key
-
dataHolder
<NH extends H> ImmutableDataProviderBuilder<NH,V, dataHolderE> (io.leangen.geantyref.TypeToken<NH> holder) -
dataHolder
-
get
-
set
-
supports
-
build
DataProvider<? extends Value<E>,E> build()- Specified by:
build
in interfaceAbstractBuilder<H extends DataHolder>
-