|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.whirled.util.UpdateList
public class UpdateList
A list specialized for storing SceneUpdate objects.
| Constructor Summary | |
|---|---|
UpdateList()
|
|
| Method Summary | |
|---|---|
void |
addUpdate(SceneUpdate update)
Adds an update to this list. |
SceneUpdate[] |
getUpdates(int fromVersion)
Returns all of the updates that should be applied to a scene with the specified version to bring it up to date. |
boolean |
validate(int sceneVersion)
Returns true if the supplied actual scene version is in accordance with the updates contained in this list. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateList()
| Method Detail |
|---|
public void addUpdate(SceneUpdate update)
public SceneUpdate[] getUpdates(int fromVersion)
null is returned if the scene's version is older than the
oldest update in our list, in which case it cannot be brought up to date by applying updates
from this list.
public boolean validate(int sceneVersion)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||