|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICopiable
Interface for objects that may be passed in ObjectEnvelopes between Isolates. The copyFrom method allows a class to specify how objects should be copied. Note that an ICopiable object should a public no-args constructor in order to be copiable.
Method Summary | |
---|---|
void |
copyFrom(Object o)
Set the state of this object based on the state of object o . |
Method Detail |
---|
void copyFrom(Object o)
o
.
This method should be careful not to store pointers to either the original or copied
object. The copyFrom is likely to be called in the context of the sending Isolate, but
this object is destined for use by the receiving Isolate.
o
- the object the copy from
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |