|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.python.core.PyObject
org.python.modules.synchronize.SynchronizedCallable
public static class synchronize.SynchronizedCallable
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.python.core.PyObject |
---|
PyObject.ConversionException |
Field Summary |
---|
Fields inherited from class org.python.core.PyObject |
---|
TYPE |
Constructor Summary | |
---|---|
synchronize.SynchronizedCallable(PyObject callable)
|
Method Summary | |
---|---|
PyObject |
__call__()
A variant of the __call__ method with no arguments. |
PyObject |
__call__(PyObject arg)
A variant of the __call__ method with one argument. |
PyObject |
__call__(PyObject[] args,
String[] keywords)
The basic method to override when implementing a callable object. |
PyObject |
__call__(PyObject arg1,
PyObject arg2)
A variant of the __call__ method with two arguments. |
PyObject |
__call__(PyObject arg1,
PyObject[] args,
String[] keywords)
A variant of the __call__ method with one extra initial argument. |
PyObject |
__call__(PyObject arg1,
PyObject arg2,
PyObject arg3)
A variant of the __call__ method with three arguments. |
PyObject |
__get__(PyObject obj,
PyObject type)
Get descriptor for this PyObject. |
boolean |
isCallable()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public synchronize.SynchronizedCallable(PyObject callable)
Method Detail |
---|
public PyObject __get__(PyObject obj, PyObject type)
PyObject
__get__
in class PyObject
obj
- -
the instance accessing this descriptor. Can be null if this is
being accessed by a type.type
- -
the type accessing this descriptor. Will be null if obj exists
as obj is of the type accessing the descriptor.
public PyObject __call__()
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
public PyObject __call__(PyObject arg)
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
arg
- the single argument to the function.public PyObject __call__(PyObject arg1, PyObject arg2)
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
arg1
- the first argument to the function.arg2
- the second argument to the function.public PyObject __call__(PyObject arg1, PyObject arg2, PyObject arg3)
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
arg1
- the first argument to the function.arg2
- the second argument to the function.arg3
- the third argument to the function.public PyObject __call__(PyObject[] args, String[] keywords)
PyObject
__call__
in class PyObject
args
- all arguments to the function (including
keyword arguments).keywords
- the keywords used for all keyword arguments.public PyObject __call__(PyObject arg1, PyObject[] args, String[] keywords)
PyObject
__call__(args,
keywords)
with the appropriate arguments. The only reason to
override this function would be for improved performance.
__call__
in class PyObject
arg1
- the first argument to the function.args
- the last arguments to the function (including
keyword arguments).keywords
- the keywords used for all keyword arguments.public boolean isCallable()
isCallable
in class PyObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |