cz.cuni.amis.introspection.python
Class PyObjectPlace
java.lang.Object
cz.cuni.amis.introspection.python.PyObjectPlace
public abstract class PyObjectPlace
- extends Object
This absract class is used for anonymous classes which decribes
where the PyObject lies (it's owner), when we do set() on the
property we have to know where to write the new value.
It's used to create anonymous classes for various typed of
places (inside an PyInstance, PyList, etc.)
- Author:
- Jimmy
|
Method Summary |
abstract Object |
get()
This should get the Object from the place. |
abstract void |
set(org.python.core.PyObject newValue)
This should set the PyObject to the right place. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PyObjectPlace
public PyObjectPlace()
set
public abstract void set(org.python.core.PyObject newValue)
- This should set the PyObject to the right place.
- Parameters:
newValue -
get
public abstract Object get()
- This should get the Object from the place.
May return null if Object doesn't exist at the location.
- Returns:
- Object from the place - null if there is not any
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.