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)
IStorageworldCommit in interface IStoragepublic int allocated()
Copyright © 2017. All rights reserved.