|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.joode.ClonedReferences
public class ClonedReferences
Helper class that manages a single clone session.
| Constructor Summary | |
|---|---|
ClonedReferences()
|
|
| Method Summary | |
|---|---|
void |
addClone(SimState obj,
SimState clone)
Registers an object as a clone of an object reference. |
SimState |
getClone(SimState object)
Returns a valid cloned reference for the clone session for an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClonedReferences()
| Method Detail |
|---|
public SimState getClone(SimState object)
public World cloneState(ClonedReferences clones){
World clone = new World();
clones.addClone(this, clone);
...
for(int i=0;i
public void addClone(SimState obj,
SimState clone)
public World cloneState(ClonedReferences clones){
World clone = new World();
clones.addClone(this, clone);
...
}
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||