org.python.core

Class PyJavaInstance

public class PyJavaInstance extends PyInstance implements Externalizable

A wrapper around a java instance.
Constructor Summary
PyJavaInstance()
PyJavaInstance(PyJavaClass iclass)
PyJavaInstance(Object proxy)
Method Summary
inthashCode()
voidreadExternal(ObjectInput in)
Implementation of the Externalizable interface.
voidwriteExternal(ObjectOutput out)
Implementation of the Externalizable interface.
PyObject_is(PyObject o)
PyObject_isnot(PyObject o)
int__cmp__(PyObject o)
void__delattr__(String attr)
void__init__(PyObject[] args, String[] keywords)
PyString__repr__()
PyString__str__()

Constructor Detail

PyJavaInstance

public PyJavaInstance()

PyJavaInstance

public PyJavaInstance(PyJavaClass iclass)

PyJavaInstance

public PyJavaInstance(Object proxy)

Method Detail

hashCode

public int hashCode()

readExternal

public void readExternal(ObjectInput in)
Implementation of the Externalizable interface.

Parameters: in the input stream.

Throws: java.io.IOException ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
Implementation of the Externalizable interface.

Parameters: out the output stream.

Throws: java.io.IOException

_is

public PyObject _is(PyObject o)

_isnot

public PyObject _isnot(PyObject o)

__cmp__

public int __cmp__(PyObject o)

__delattr__

public void __delattr__(String attr)

__init__

public void __init__(PyObject[] args, String[] keywords)

__repr__

public PyString __repr__()

__str__

public PyString __str__()
Jython homepage