org.jclarion.clarion.runtime.ref
Class RefVariable<T>
java.lang.Object
org.jclarion.clarion.ClarionMemoryModel
org.jclarion.clarion.runtime.ref.RefVariable<T>
- All Implemented Interfaces:
- Threaded
public class RefVariable<T>
- extends ClarionMemoryModel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
protected AbstractStateGetter<RefVariable.State> state
RefVariable
public RefVariable()
RefVariable
public RefVariable(T variable)
RefVariable
public RefVariable(RefVariable<T> variable,
java.lang.Thread t)
initThread
public void initThread()
- Specified by:
initThread in interface Threaded- Overrides:
initThread in class ClarionMemoryModel
setThread
public RefVariable<T> setThread()
get
public T get()
set
public void set(T variable)
deserialize
public void deserialize(java.io.InputStream is)
throws java.io.IOException
- Description copied from class:
ClarionMemoryModel
- Read object from memory as clarion would represent object in memory
- Specified by:
deserialize in class ClarionMemoryModel
- Throws:
java.io.IOException
serialize
public void serialize(java.io.OutputStream os)
throws java.io.IOException
- Description copied from class:
ClarionMemoryModel
- Write java object to memory as clarion would represent object in memory
- Specified by:
serialize in class ClarionMemoryModel
- Throws:
java.io.IOException
getLockedObject
public java.lang.Object getLockedObject(java.lang.Thread t)
Copyright © 2010. All Rights Reserved.