| Modifier and Type | Field and Description |
|---|---|
| public PyTuple | __bases__
The base classes of this class |
| pack-priv PyObject | |
| pack-priv PyObject | |
| pack-priv PyObject | |
| public PyObject | __dict__
Holds the namespace for this class |
| pack-priv PyObject | |
| public String | __name__
The name of this class |
| pack-priv PyObject | |
| pack-priv PyObject | |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __call__(PyObject[]
all arguments to the function (including keyword arguments). args, String[] the keywords used for all keyword arguments. keywords)Overrides org. The basic method to override when implementing a callable object. |
| public int | __cmp__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __cmp__ 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 PyObject | __findattr_ex__(String name)
Overrides org. Attribute lookup hook. |
| public void | |
| 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 PyString | __str__()
Overrides org. Equivalent to the standard Python __str__ method. |
| private void | |
| public static PyObject | classobj___new__(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
|
| public static PyObject | |
| public PyObject | |
| public boolean | |
| public boolean | |
| pack-priv PyObject | |
| public void | noAttributeError(String name)
Overrides org. Customized AttributeError for class objects. |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public void | |
| public void | |
| public void | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| __bases__ | back to summary |
|---|---|
| public PyTuple __bases__ The base classes of this class | |
| __contains__ | back to summary |
|---|---|
| pack-priv PyObject __contains__ | |
| __del__ | back to summary |
|---|---|
| pack-priv PyObject __del__ | |
| __delattr__ | back to summary |
|---|---|
| pack-priv PyObject __delattr__ | |
| __dict__ | back to summary |
|---|---|
| public PyObject __dict__ Holds the namespace for this class | |
| __getattr__ | back to summary |
|---|---|
| pack-priv PyObject __getattr__ | |
| __name__ | back to summary |
|---|---|
| public String __name__ The name of this class | |
| __setattr__ | back to summary |
|---|---|
| pack-priv PyObject __setattr__ | |
| __tojava__ | back to summary |
|---|---|
| pack-priv PyObject __tojava__ | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| PyClass | back to summary |
|---|---|
| private PyClass() Create a new instance of a Python classic class. | |
| __call__ | back to summary |
|---|---|
| public PyObject __call__(PyObject[] args, String[] keywords) Overrides org. Doc from org. The basic method to override when implementing a callable object. The first len(args)-len(keywords) members of args[] are plain arguments. The last len(keywords) arguments are the values of the keyword arguments.
| |
| __cmp__ | back to summary |
|---|---|
| public int __cmp__(PyObject other) Overrides org. Doc from org. Equivalent to the standard Python __cmp__ 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 | |
| __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 | |
| __rawdir__ | back to summary |
|---|---|
| public void __rawdir__(PyDictionary accum) Overrides org.
| |
| __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.
| |
| __str__ | back to summary |
|---|---|
| public PyString __str__() Overrides org. Doc from org. Equivalent to the standard Python __str__ method. The default implementation (in
| |
| cacheDescriptors | back to summary |
|---|---|
| private void cacheDescriptors() Setup cached references to methods where performance really counts | |
| classobj___new__ | back to summary |
|---|---|
public static PyObject classobj___new__(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
| |
| classobj___new__ | back to summary |
|---|---|
| public static PyObject classobj___new__(PyObject name, PyObject bases, PyObject dict) | |
| fastGetDict | back to summary |
|---|---|
| public PyObject fastGetDict() Overrides org. Doc from org. xxx implements where meaningful | |
| isCallable | back to summary |
|---|---|
| public boolean isCallable() Overrides org.
| |
| isSubClass | back to summary |
|---|---|
| public boolean isSubClass(PyClass superclass) | |
| lookup | back to summary |
|---|---|
| pack-priv PyObject lookup(String name) | |
| noAttributeError | back to summary |
|---|---|
| public void noAttributeError(String name) Overrides org. Customized AttributeError for class objects.
| |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| setBases | back to summary |
|---|---|
| public void setBases(PyObject value) | |
| setDict | back to summary |
|---|---|
| public void setDict(PyObject value) Overrides org. | |
| setName | back to summary |
|---|---|
| public void setName(PyObject value) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |