jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap.io
Interface MasterStorages.MasterStorageBuilder<T>

Type Parameters:
T - Type of stored properties
All Known Implementing Classes:
CompactStringStorage.Builder
Enclosing class:
MasterStorages

public static interface MasterStorages.MasterStorageBuilder<T>

Builder class for a master storage.


Method Summary
 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.
 

Method Detail

add

void add(int masterIndex,
         T data)
Add next represented data.

Parameters:
masterIndex - Next index
data - Next data
Throws:
IllegalArgumentException - when passed masterIndex differs from expected

addMissing

void addMissing(int masterIndex)
Add missing data.

Parameters:
masterIndex - Next index
Throws:
IllegalArgumentException - when passed masterIndex differs from expected

build

MasterStorage<T> build()
Build immutable, serializable storage from the current state.

Returns:
Built storage

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)