|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.core.PyObject
org.python.core.PyInstance
org.python.core.PyJavaInstance
public class PyJavaInstance
A wrapper around a java instance.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.python.core.PyObject |
|---|
PyObject.ConversionException |
| Field Summary |
|---|
| Fields inherited from class org.python.core.PyInstance |
|---|
__dict__, instclass |
| Fields inherited from class org.python.core.PyObject |
|---|
TYPE |
| Constructor Summary | |
|---|---|
PyJavaInstance()
|
|
PyJavaInstance(java.lang.Object proxy)
|
|
PyJavaInstance(PyJavaClass iclass)
|
|
| Method Summary | |
|---|---|
int |
__cmp__(PyObject o)
Equivalent to the standard Python __cmp__ method. |
void |
__delattr__(java.lang.String attr)
A variant of the __delattr__ method which accepts a String as the key. |
void |
__init__(PyObject[] args,
java.lang.String[] keywords)
|
PyObject |
_is(PyObject o)
Implements is operator. |
PyObject |
_isnot(PyObject o)
Implements is not operator. |
int |
hashCode()
|
void |
readExternal(java.io.ObjectInput in)
Implementation of the Externalizable interface. |
void |
writeExternal(java.io.ObjectOutput out)
Implementation of the Externalizable interface. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PyJavaInstance()
public PyJavaInstance(PyJavaClass iclass)
public PyJavaInstance(java.lang.Object proxy)
| Method Detail |
|---|
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - the input stream.
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - the output stream.
java.io.IOException
public void __init__(PyObject[] args,
java.lang.String[] keywords)
__init__ in class PyInstancepublic int hashCode()
hashCode in class PyInstancepublic PyObject _is(PyObject o)
PyObjectis operator.
_is in class PyObjecto - the object to compare this with.
public PyObject _isnot(PyObject o)
PyObjectis not operator.
_isnot in class PyObjecto - the object to compare this with.
public int __cmp__(PyObject o)
PyObject
__cmp__ in class PyInstanceo - the object to compare this with.
public void __delattr__(java.lang.String attr)
PyObject__delattr__(PyString name)
with the appropriate args.
The only reason to override this method is for performance.
__delattr__ in class PyInstanceattr - the name which will be removed -
must be an interned string .PyObject.__delattr__(PyString)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||