public class ChunckedIntTrail extends ChunckedTrail<IntWorld> implements IStoredIntTrail
current, worlds| Constructor and Description |
|---|
ChunckedIntTrail(int ws,
int nbWorlds,
double loadfactor)
Constructs a trail with predefined size and loadfactor
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildFakeHistory(StoredInt v,
int initValue,
int olderStamp) |
void |
savePreviousState(StoredInt v,
int oldValue,
int oldStamp) |
void |
worldPush(int worldIndex)
Moving up to the next world.
|
allocated, worldCommit, worldPopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitworldCommit, worldPoppublic ChunckedIntTrail(int ws,
int nbWorlds,
double loadfactor)
ws - the initial world sizenbWorlds - the initial number of worldsloadfactor - how to resize worldpublic void worldPush(int worldIndex)
IStoragepublic void savePreviousState(StoredInt v, int oldValue, int oldStamp)
savePreviousState in interface IStoredIntTrailpublic void buildFakeHistory(StoredInt v, int initValue, int olderStamp)
buildFakeHistory in interface IStoredIntTrailCopyright © 2018. All rights reserved.