public abstract class KeyAndBlockPositionValueStateSerializer<T extends KeyAndBlockPositionValueState> extends Object implements AccumulatorStateSerializer<T>
| Modifier and Type | Field and Description |
|---|---|
protected Type |
secondType |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(Block block,
int index,
T state) |
Type |
getSerializedType() |
void |
serialize(T state,
BlockBuilder out) |
protected final Type secondType
public Type getSerializedType()
getSerializedType in interface AccumulatorStateSerializer<T extends KeyAndBlockPositionValueState>public void serialize(T state, BlockBuilder out)
serialize in interface AccumulatorStateSerializer<T extends KeyAndBlockPositionValueState>public void deserialize(Block block, int index, T state)
deserialize in interface AccumulatorStateSerializer<T extends KeyAndBlockPositionValueState>Copyright © 2012–2019. All rights reserved.