private void checkAndWriteDictionaryChunkToFile() throws IOException {
  if (oneDictionaryChunkList.size() >= dictionary_one_chunk_size) {
    writeDictionaryFile();
    createChunkList();
  }
}

private void checkAndWriteDictionaryChunkToFile ( ) throws IOException { if ( oneDictionaryChunkList . size ( ) >= dictionary_one_chunk_size ) { writeDictionaryFile ( ) ; createChunkList ( ) ; } }
check if the threshold has been reached for the number of values that can kept in memory and then flush the data to file
