| Modifier and Type | Field and Description |
|---|---|
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __abs__()
Overrides org. Equivalent to the standard Python __abs__ method. |
| public PyObject | __add__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __add__ method. |
| public PyObject | __and__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __and__ method |
| public PyComplex | __complex__()
Overrides org. Equivalent to the standard Python __complex__ method. |
| public boolean | __contains__(PyObject
the element to search for in this container. o)Overrides org. Equivalent to the standard Python __contains__ method. |
| public void | __delattr__(String
the name which will be removed - must be an interned string . name)Overrides org. A variant of the __delattr__ method which accepts a String as the key. |
| public void | __delitem__(PyObject
the key to be removed from the container key)Overrides org. Equivalent to the standard Python __delitem__ method. |
| public void | __delslice__(PyObject start, PyObject stop, PyObject step)
Overrides org.
|
| public PyObject | __div__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __div__ method |
| public PyObject | __divmod__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __divmod__ method |
| public PyObject | __findattr_ex__(String name)
Overrides org. Attribute lookup hook. |
| public PyObject | __finditem__(PyObject
the key to lookup in this container key)Overrides org. Very similar to the standard Python __getitem__ method. |
| public PyFloat | __float__()
Overrides org. Equivalent to the standard Python __float__ method. |
| public PyObject | __floordiv__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __floordiv__ method |
| public PyObject | __getslice__(PyObject start, PyObject stop, PyObject step)
Overrides org.
|
| public PyString | __hex__()
Overrides org. Equivalent to the standard Python __hex__ method Should only be overridden by numeric objects that can be reasonably represented as a hexadecimal string. |
| public PyObject | __iadd__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __iadd__ method. |
| public PyObject | __iand__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __iand__ method |
| public PyObject | __idiv__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __idiv__ method |
| public PyObject | __ifloordiv__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __ifloordiv__ method |
| public PyObject | __ilshift__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __ilshift__ method |
| public PyObject | __imod__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __imod__ method |
| public PyObject | __imul__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __imul__ method. |
| public PyObject | __index__()
Overrides org. Equivalent to the standard Python __index__ method. |
| public PyObject | __int__()
Overrides org. Equivalent to the standard Python __int__ method. |
| public PyObject | __invert__()
Overrides org. Equivalent to the standard Python __invert__ method. |
| public PyObject | __ior__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __ior__ method |
| public PyObject | __ipow__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __ipow__ method |
| public PyObject | __irshift__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __irshift__ method |
| public PyObject | __isub__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __isub__ method |
| public PyObject | __iter__()
Overrides org. Return an iterator that is used to iterate the element of this sequence. |
| public PyObject | __ixor__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __ixor__ method |
| public int | __len__()
Overrides org. Equivalent to the standard Python __len__ method. |
| public PyObject | __long__()
Overrides org. Equivalent to the standard Python __long__ method. |
| public PyObject | __lshift__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __lshift__ method |
| public PyObject | __mod__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __mod__ method |
| public PyObject | __mul__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __mul__ method. |
| public PyObject | __neg__()
Overrides org. Equivalent to the standard Python __neg__ method. |
| public boolean | __nonzero__()
Overrides org. Equivalent to the standard Python __nonzero__ method. |
| public PyString | __oct__()
Overrides org. Equivalent to the standard Python __oct__ method. |
| public PyObject | __or__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __or__ method |
| public PyObject | __pos__()
Overrides org. Equivalent to the standard Python __pos__ method. |
| public PyObject | __pow__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __pow__ method |
| public PyObject | __radd__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __radd__ method. |
| public PyObject | __rand__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rand__ method |
| public PyObject | __rdiv__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rdiv__ method |
| public PyObject | __rdivmod__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rdivmod__ method |
| public PyObject | __rlshift__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rlshift__ method |
| public PyObject | __rmod__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rmod__ method |
| public PyObject | __rmul__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rmul__ method. |
| public PyObject | __ror__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __ror__ method |
| public PyObject | __rpow__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rpow__ method |
| public PyObject | __rrshift__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rrshift__ method |
| public PyObject | __rshift__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __rshift__ method |
| public PyObject | __rsub__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rsub__ method |
| public PyObject | __rxor__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rxor__ method |
| public void | __setattr__(String
the name whose value will be set - must be an interned string . name, PyObject the value to set this name to value)Overrides org. A variant of the __setattr__ method which accepts a String as the key. |
| public void | __setitem__(PyObject
the key whose value will be set key, PyObject the value to set this key to value)Overrides org. Equivalent to the standard Python __setitem__ method. |
| public void | __setslice__(PyObject start, PyObject stop, PyObject step, PyObject value)
Overrides org.
|
| public PyString | __str__()
Overrides org. Equivalent to the standard Python __str__ method. |
| public PyObject | __sub__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __sub__ method |
| public PyUnicode | |
| public PyObject | __xor__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __xor__ method |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| ProxyType | back to summary |
|---|---|
| public ProxyType(PyType subType, ReferenceBackend ref, PyObject callback) | |
| ProxyType | back to summary |
|---|---|
| public ProxyType(ReferenceBackend ref, PyObject callback) | |
| __abs__ | back to summary |
|---|---|
| public PyObject __abs__() Overrides org. Doc from org. Equivalent to the standard Python __abs__ method.
| |
| __add__ | back to summary |
|---|---|
| public PyObject __add__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __add__ method. | |
| __and__ | back to summary |
|---|---|
| public PyObject __and__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __and__ method | |
| __complex__ | back to summary |
|---|---|
| public PyComplex __complex__() Overrides org. Doc from org. Equivalent to the standard Python __complex__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python complex number.
| |
| __contains__ | back to summary |
|---|---|
| public boolean __contains__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __contains__ method.
| |
| __delattr__ | back to summary |
|---|---|
| public void __delattr__(String name) Overrides org. Doc from org. A variant of the __delattr__ method which accepts a String as the key. This String must be
interned. By default, this will call
| |
| __delitem__ | back to summary |
|---|---|
| public void __delitem__(PyObject key) Overrides org. Doc from org. Equivalent to the standard Python __delitem__ method.
| |
| __delslice__ | back to summary |
|---|---|
| public void __delslice__(PyObject start, PyObject stop, PyObject step) Overrides org. | |
| __div__ | back to summary |
|---|---|
| public PyObject __div__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __div__ method | |
| __divmod__ | back to summary |
|---|---|
| public PyObject __divmod__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __divmod__ method | |
| __findattr_ex__ | back to summary |
|---|---|
| public PyObject __findattr_ex__(String name) Overrides org. Doc from org. Attribute lookup hook. If the attribute is not found, null may be returned or a
Py.AttributeError can be thrown, whatever is more correct, efficient and/or convenient for
the implementing class.
Client code should use
| |
| __finditem__ | back to summary |
|---|---|
| public PyObject __finditem__(PyObject key) Overrides org. Doc from org. Very similar to the standard Python __getitem__ method. Instead of throwing a KeyError if the item isn't found, this just returns null. Classes that wish to implement __getitem__ should override this method instead (with the appropriate semantics. | |
| __float__ | back to summary |
|---|---|
| public PyFloat __float__() Overrides org. Doc from org. Equivalent to the standard Python __float__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python float.
| |
| __floordiv__ | back to summary |
|---|---|
| public PyObject __floordiv__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __floordiv__ method | |
| __getslice__ | back to summary |
|---|---|
| public PyObject __getslice__(PyObject start, PyObject stop, PyObject step) Overrides org. | |
| __hex__ | back to summary |
|---|---|
| public PyString __hex__() Overrides org. Doc from org. Equivalent to the standard Python __hex__ method Should only be overridden by numeric objects that can be reasonably represented as a hexadecimal string.
| |
| __iadd__ | back to summary |
|---|---|
| public PyObject __iadd__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __iadd__ method. | |
| __iand__ | back to summary |
|---|---|
| public PyObject __iand__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __iand__ method | |
| __idiv__ | back to summary |
|---|---|
| public PyObject __idiv__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __idiv__ method | |
| __ifloordiv__ | back to summary |
|---|---|
| public PyObject __ifloordiv__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __ifloordiv__ method | |
| __ilshift__ | back to summary |
|---|---|
| public PyObject __ilshift__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __ilshift__ method | |
| __imod__ | back to summary |
|---|---|
| public PyObject __imod__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __imod__ method | |
| __imul__ | back to summary |
|---|---|
| public PyObject __imul__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __imul__ method. | |
| __index__ | back to summary |
|---|---|
| public PyObject __index__() Overrides org. Doc from org. Equivalent to the standard Python __index__ method.
| |
| __int__ | back to summary |
|---|---|
| public PyObject __int__() Overrides org. Doc from org. Equivalent to the standard Python __int__ method. Should only be overridden by numeric objects that can be reasonably coerced into an integer.
| |
| __invert__ | back to summary |
|---|---|
| public PyObject __invert__() Overrides org. Doc from org. Equivalent to the standard Python __invert__ method.
| |
| __ior__ | back to summary |
|---|---|
| public PyObject __ior__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __ior__ method | |
| __ipow__ | back to summary |
|---|---|
| public PyObject __ipow__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __ipow__ method | |
| __irshift__ | back to summary |
|---|---|
| public PyObject __irshift__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __irshift__ method | |
| __isub__ | back to summary |
|---|---|
| public PyObject __isub__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __isub__ method | |
| __iter__ | back to summary |
|---|---|
| public PyObject __iter__() Overrides org. Doc from org. Return an iterator that is used to iterate the element of this sequence. From version 2.2, this method is the primary protocol for looping over sequences. If a PyObject subclass should support iteration based in the __finditem__() method, it must supply an implementation of __iter__() like this:
public PyObject __iter__() {
return new PySequenceIter(this);
}
When iterating over a python sequence from java code, it should be done with code like
this:
for (PyObject item : seq.asIterable()) {
// Do something with item
}
| |
| __ixor__ | back to summary |
|---|---|
| public PyObject __ixor__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __ixor__ method | |
| __len__ | back to summary |
|---|---|
| public int __len__() Overrides org. Doc from org. Equivalent to the standard Python __len__ method. Part of the mapping discipline.
| |
| __long__ | back to summary |
|---|---|
| public PyObject __long__() Overrides org. Doc from org. Equivalent to the standard Python __long__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python long.
| |
| __lshift__ | back to summary |
|---|---|
| public PyObject __lshift__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __lshift__ method | |
| __mod__ | back to summary |
|---|---|
| public PyObject __mod__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __mod__ method | |
| __mul__ | back to summary |
|---|---|
| public PyObject __mul__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __mul__ method. | |
| __neg__ | back to summary |
|---|---|
| public PyObject __neg__() Overrides org. Doc from org. Equivalent to the standard Python __neg__ method.
| |
| __nonzero__ | back to summary |
|---|---|
| public boolean __nonzero__() Overrides org. Doc from org. Equivalent to the standard Python __nonzero__ method. Returns whether of not a given
| |
| __oct__ | back to summary |
|---|---|
| public PyString __oct__() Overrides org. Doc from org. Equivalent to the standard Python __oct__ method. Should only be overridden by numeric objects that can be reasonably represented as an octal string.
| |
| __or__ | back to summary |
|---|---|
| public PyObject __or__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __or__ method | |
| __pos__ | back to summary |
|---|---|
| public PyObject __pos__() Overrides org. Doc from org. Equivalent to the standard Python __pos__ method.
| |
| __pow__ | back to summary |
|---|---|
| public PyObject __pow__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __pow__ method | |
| __radd__ | back to summary |
|---|---|
| public PyObject __radd__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __radd__ method. | |
| __rand__ | back to summary |
|---|---|
| public PyObject __rand__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rand__ method | |
| __rdiv__ | back to summary |
|---|---|
| public PyObject __rdiv__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rdiv__ method | |
| __rdivmod__ | back to summary |
|---|---|
| public PyObject __rdivmod__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rdivmod__ method | |
| __rlshift__ | back to summary |
|---|---|
| public PyObject __rlshift__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rlshift__ method | |
| __rmod__ | back to summary |
|---|---|
| public PyObject __rmod__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rmod__ method | |
| __rmul__ | back to summary |
|---|---|
| public PyObject __rmul__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rmul__ method. | |
| __ror__ | back to summary |
|---|---|
| public PyObject __ror__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __ror__ method | |
| __rpow__ | back to summary |
|---|---|
| public PyObject __rpow__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rpow__ method | |
| __rrshift__ | back to summary |
|---|---|
| public PyObject __rrshift__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rrshift__ method | |
| __rshift__ | back to summary |
|---|---|
| public PyObject __rshift__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rshift__ method | |
| __rsub__ | back to summary |
|---|---|
| public PyObject __rsub__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rsub__ method | |
| __rxor__ | back to summary |
|---|---|
| public PyObject __rxor__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __rxor__ method | |
| __setattr__ | back to summary |
|---|---|
| public void __setattr__(String name, PyObject value) Overrides org. Doc from org. A variant of the __setattr__ method which accepts a String as the key. This String must be interned. | |
| __setitem__ | back to summary |
|---|---|
| public void __setitem__(PyObject key, PyObject value) Overrides org. Doc from org. Equivalent to the standard Python __setitem__ method. | |
| __setslice__ | back to summary |
|---|---|
| public void __setslice__(PyObject start, PyObject stop, PyObject step, PyObject value) Overrides org. | |
| __str__ | back to summary |
|---|---|
| public PyString __str__() Overrides org. Doc from org. Equivalent to the standard Python __str__ method. The default implementation (in
| |
| __sub__ | back to summary |
|---|---|
| public PyObject __sub__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __sub__ method | |
| __unicode__ | back to summary |
|---|---|
| public PyUnicode __unicode__() Overrides org. | |
| __xor__ | back to summary |
|---|---|
| public PyObject __xor__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __xor__ method | |