Package org.spongepowered.api.data
Interface MutableDataProviderBuilder<H extends DataHolder.Mutable,V extends Value<E>,E>
-
- All Superinterfaces:
Buildable.Builder<DataProvider<V,E>>
,Builder<DataProvider<V,E>,MutableDataProviderBuilder<H,V,E>>
,ResettableBuilder<DataProvider<V,E>,MutableDataProviderBuilder<H,V,E>>
public interface MutableDataProviderBuilder<H extends DataHolder.Mutable,V extends Value<E>,E> extends Builder<DataProvider<V,E>,MutableDataProviderBuilder<H,V,E>>
-
-
Method Summary
-
-
-
Method Detail
-
key
<NV extends Value<NE>,NE> MutableDataProviderBuilder<H,NV,NE> key(Key<NV> key)
-
dataHolder
<NH extends H> MutableDataProviderBuilder<NH,V,E> dataHolder(io.leangen.geantyref.TypeToken<NH> holder)
-
dataHolder
<NH extends H> MutableDataProviderBuilder<NH,V,E> dataHolder(Class<NH> holder)
-
set
MutableDataProviderBuilder<H,V,E> set(BiConsumer<H,E> set)
-
setAnd
MutableDataProviderBuilder<H,V,E> setAnd(BiFunction<H,E,Boolean> setAnd)
-
deleteAndGet
MutableDataProviderBuilder<H,V,E> deleteAndGet(Function<H,DataTransactionResult> delete)
-
setAndGet
MutableDataProviderBuilder<H,V,E> setAndGet(BiFunction<H,E,DataTransactionResult> setAndGet)
-
build
DataProvider<V,E> build()
- Specified by:
build
in interfaceBuildable.Builder<H extends DataHolder.Mutable>
-
-