public abstract class ChunckedTrail<W extends World> extends Object implements IStorage
Modifier and Type | Field and Description |
---|---|
protected W |
current
The current world.
|
protected W[] |
worlds
The worlds.
|
Constructor and Description |
---|
ChunckedTrail() |
Modifier and Type | Method and Description |
---|---|
int |
allocated()
Returns the allocated trail size.
|
void |
worldCommit(int worldIndex)
Comitting the current world: merging it with the previous one.
|
void |
worldPop(int worldIndex)
Moving down to the previous world.
|
public void worldPop(int worldIndex)
public void worldCommit(int worldIndex)
IStorage
worldCommit
in interface IStorage
public int allocated()
Copyright © 2018. All rights reserved.