private final void storeElement(final V element, final long numberOfElements, final long nextEntry, final long address) {
final int pagenumber = (int) (address / PageManager.getDefaultPageSize());
final int index = (int) (address % PageManager.getDefaultPageSize());
try {
final OutputStream out = new ContinousPagesOutputStream(pagenumber, new PageManager(this.valuesFilename, false, false), index);
OutHelper.writeLuposLong(numberOfElements, out); // currently one element inside!
OutHelper.writeLuposLong(nextEntry, out); // end of list!
Registration.serializeWithoutId(element, out);
out.close();
} catch (final IOException e) {
System.err.println(e);
e.printStackTrace();
}
}