T - Type of stored propertiespublic static interface MasterStorages.MasterStorageBuilder<T>
| Modifier and Type | Method and Description |
|---|---|
void |
add(int masterIndex,
T data)
Add next represented data.
|
void |
addMissing(int masterIndex)
Add missing data.
|
MasterStorage<T> |
build()
Build immutable, serializable storage from the current state.
|
void add(int masterIndex,
T data)
masterIndex - Next indexdata - Next dataIllegalArgumentException - when passed masterIndex differs from expectedvoid addMissing(int masterIndex)
masterIndex - Next indexIllegalArgumentException - when passed masterIndex differs from expectedMasterStorage<T> build()