jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap.io
Class CompactStringStorage.Builder

Object
  extended by com.chemaxon.overlap.io.CompactStringStorage.Builder
All Implemented Interfaces:
MasterStorages.MasterStorageBuilder<String>
Enclosing class:
CompactStringStorage

public static class CompactStringStorage.Builder
extends Object
implements MasterStorages.MasterStorageBuilder<String>

Builder class.


Constructor Summary
CompactStringStorage.Builder(int pagesize, int skips)
          Construct.
 
Method Summary
 void add(int masterIndex, String data)
          Add next represented data.
 void addMissing(int masterIndex)
          Add missing data.
 CompactStringStorage build()
          Build immutable, serializable storage from the current state.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompactStringStorage.Builder

public CompactStringStorage.Builder(int pagesize,
                                    int skips)
Construct.

Parameters:
pagesize - Expected pagesize
skips - Skip count
Method Detail

add

public void add(int masterIndex,
                String data)
Description copied from interface: MasterStorages.MasterStorageBuilder
Add next represented data.

Specified by:
add in interface MasterStorages.MasterStorageBuilder<String>
Parameters:
masterIndex - Next index
data - Next data

addMissing

public void addMissing(int masterIndex)
Description copied from interface: MasterStorages.MasterStorageBuilder
Add missing data.

Specified by:
addMissing in interface MasterStorages.MasterStorageBuilder<String>
Parameters:
masterIndex - Next index

build

public CompactStringStorage build()
Description copied from interface: MasterStorages.MasterStorageBuilder
Build immutable, serializable storage from the current state.

Specified by:
build in interface MasterStorages.MasterStorageBuilder<String>
Returns:
Built storage

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)