Java Doc for PyObject.java in  » Testing » Marathon » org » python » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » Marathon » org.python.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.python.core.PyObject

All known Subclasses:   org.python.core.PyCompoundCallable,  org.python.core.PyIterator,  org.python.core.PySequence,  com.ziclix.python.sql.PyConnection,  org.python.core.PyStringMap,  com.ziclix.python.sql.connect.Connect,  org.python.modules.sre.MatchObject,  org.python.core.PyClassMethod,  org.python.core.PyFunction,  org.python.core.PyStaticMethod,  org.python.core.PyReflectedField,  org.python.core.PrecompiledImporter,  org.python.core.PyFile,  org.python.core.PySlice,  org.python.core.ZipFileImporter,  org.python.core.PyDescriptor,  org.python.modules.sre.PatternObject,  org.python.core.PySystemState,  org.python.core.PyProperty,  com.ziclix.python.sql.connect.Lookup,  org.python.core.PyTraceback,  org.python.core.CollectionIter,  org.python.core.PyModule,  org.python.core.PyMethod,  com.ziclix.python.sql.PyCursor,  org.python.core.PyBuiltinFunction,  com.ziclix.python.sql.PyStatement,  com.ziclix.python.sql.connect.Connectx,  com.ziclix.python.sql.util.BCP,  org.python.core.PyBeanEvent,  org.python.core.PyComplex,  org.python.modules.MD5Object,  org.python.core.PyJavaPackage,  org.python.modules.sets.BaseSet,  org.python.core.PyClass,  org.python.core.PySuper,  org.python.modules.sre.ScannerObject,  org.python.core.PyFrame,  org.python.core.PyObjectDerived,  org.python.core.PyInteger,  org.python.core.PySingleton,  org.python.modules.SynchronizedCallable,  org.python.core.PyInstance,  org.python.core.PyFloat,  org.python.core.JavaImporter,  org.python.core.PyLong,  org.python.core.PyCode,  org.python.core.PyReflectedFunction,  org.python.modules.sets.PySetIterator,  org.python.core.PyCell,  org.python.core.PyNone,  com.ziclix.python.sql.zxJDBC,  org.python.modules.PyLock,  org.python.core.PyDictionary,  org.python.core.PyType,
PyObject
public class PyObject implements java.io.Serializable(Code)
All objects known to the Jython runtime system are represented by an instance of the class PyObject or one of its subclasses.

Inner Class :public static class ConversionException extends Exception

Field Summary
final public static  Stringexposed_name
    

Constructor Summary
public  PyObject(PyType objtype)
    
 PyObject(boolean dummy)
    
public  PyObject()
     The standard constructor for a PyObject.

Method Summary
public  PyObject__abs__()
     Equivalent to the standard Python __abs__ method.
public  PyObject__add__(PyObject other)
     Equivalent to the standard Python __add__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__and__(PyObject other)
     Equivalent to the standard Python __and__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__call__(PyObject args, String keywords)
     The basic method to override when implementing a callable object. The first len(args)-len(keywords) members of args[] are plain arguments.
public  PyObject__call__(PyObject arg1, PyObject args, String keywords)
     A variant of the __call__ method with one extra initial argument. This variant is used to allow method invocations to be performed efficiently. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments.
public  PyObject__call__(PyObject args)
     A variant of the __call__ method when no keywords are passed.
public  PyObject__call__()
     A variant of the __call__ method with no arguments.
public  PyObject__call__(PyObject arg0)
     A variant of the __call__ method with one argument.
public  PyObject__call__(PyObject arg0, PyObject arg1)
     A variant of the __call__ method with two arguments.
public  PyObject__call__(PyObject arg0, PyObject arg1, PyObject arg2)
     A variant of the __call__ method with three arguments.
public  PyObject__call__(PyObject arg0, PyObject arg1, PyObject arg2, PyObject arg3)
     A variant of the __call__ method with four arguments.
public  int__cmp__(PyObject other)
     Equivalent to the standard Python __cmp__ method.
Parameters:
  other - the object to compare this with.
final public  PyObject__coerce__(PyObject pyo)
     Equivalent to the standard Python __coerce__ method. This method can not be overridden. To implement __coerce__ functionality, override __coerce_ex__ instead.
Parameters:
  pyo - the other object involved in the coercion.
public  Object__coerce_ex__(PyObject o)
    
public  PyComplex__complex__()
     Equivalent to the standard Python __complex__ method.
public  boolean__contains__(PyObject o)
     Equivalent to the standard Python __contains__ method.
Parameters:
  o - the element to search for in this container.
final public  void__delattr__(PyString name)
     Equivalent to the standard Python __delattr__ method.
public  void__delattr__(String name)
     A variant of the __delattr__ method which accepts a String as the key.
public  void__delete__(PyObject obj)
    
public  void__delitem__(PyObject key)
     Equivalent to the standard Python __delitem__ method.
public  void__delitem__(String key)
     A variant of the __delitem__ method which accepts a String as the key.
public  void__delslice__(PyObject s_start, PyObject s_stop, PyObject s_step)
    
public  void__delslice__(PyObject start, PyObject stop)
    
public  PyObject__dir__()
     Equivalent to the standard Python __dir__ method.
public  PyObject__div__(PyObject other)
     Equivalent to the standard Python __div__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__divmod__(PyObject other)
     Equivalent to the standard Python __divmod__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__eq__(PyObject other)
     Equivalent to the standard Python __eq__ method.
Parameters:
  other - the object to compare this with.
final public  PyObject__findattr__(PyString name)
     Very similar to the standard Python __getattr__ method.
public  PyObject__findattr__(String name)
     A variant of the __findattr__ method which accepts a Java String as the name. Warning: name must be an interned string!
Parameters:
  name - the name to lookup in this namespace must be an interned string .
public  PyObject__finditem__(PyObject key)
     Very similar to the standard Python __getitem__ method.
public  PyObject__finditem__(int key)
     A variant of the __finditem__ method which accepts a primitive int as the key.
public  PyObject__finditem__(String key)
     A variant of the __finditem__ method which accepts a Java String as the key.
public  PyFloat__float__()
     Equivalent to the standard Python __float__ method.
public  PyObject__floordiv__(PyObject other)
     Equivalent to the standard Python __floordiv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__ge__(PyObject other)
     Equivalent to the standard Python __ge__ method.
Parameters:
  other - the object to compare this with.
public  PyObject__get__(PyObject obj, PyObject type)
    
final public  PyObject__getattr__(PyString name)
     Equivalent to the standard Python __getattr__ method.
final public  PyObject__getattr__(String name)
     A variant of the __getattr__ method which accepts a Java String as the name. This method can not be overridden. Override the __findattr__ method instead. Warning: name must be an interned string!!!!!!!!
Parameters:
  name - the name to lookup in this namespace must be an interned string .
public  PyObject__getitem__(int key)
     Equivalent to the standard Python __getitem__ method. This variant takes a primitive int as the key. This method should not be overridden. Override the __finditem__ method instead.
Parameters:
  key - the key to lookup in this container.
public  PyObject__getitem__(PyObject key)
     Equivalent to the standard Python __getitem__ method. This method should not be overridden. Override the __finditem__ method instead.
Parameters:
  key - the key to lookup in this container.
public  PyTuple__getnewargs__()
    
public  PyObject__getslice__(PyObject s_start, PyObject s_stop, PyObject s_step)
    
public  PyObject__getslice__(PyObject start, PyObject stop)
    
public  PyObject__gt__(PyObject other)
     Equivalent to the standard Python __gt__ method.
Parameters:
  other - the object to compare this with.
final public  PyInteger__hash__()
     Equivalent to the standard Python __hash__ method.
public  PyString__hex__()
     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 other)
     Equivalent to the standard Python __iadd__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__iand__(PyObject other)
     Equivalent to the standard Python __iand__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__idiv__(PyObject other)
     Equivalent to the standard Python __idiv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__idivmod__(PyObject other)
     Equivalent to the standard Python __idivmod__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__ifloordiv__(PyObject other)
     Equivalent to the standard Python __ifloordiv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__ilshift__(PyObject other)
     Equivalent to the standard Python __ilshift__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__imod__(PyObject other)
     Equivalent to the standard Python __imod__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__imul__(PyObject other)
     Equivalent to the standard Python __imul__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__int__()
     Equivalent to the standard Python __int__ method.
public  PyObject__invert__()
     Equivalent to the standard Python __invert__ method.
public  PyObject__ior__(PyObject other)
     Equivalent to the standard Python __ior__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__ipow__(PyObject other)
     Equivalent to the standard Python __ipow__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__irshift__(PyObject other)
     Equivalent to the standard Python __irshift__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__isub__(PyObject other)
     Equivalent to the standard Python __isub__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__iter__()
     Return an iterator that is used to iterate the element of this sequence.
public  PyObject__iternext__()
     Return the next element of the sequence that this is an iterator for.
public  PyObject__itruediv__(PyObject other)
     Equivalent to the standard Python __itruediv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__ixor__(PyObject other)
     Equivalent to the standard Python __ixor__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__le__(PyObject other)
     Equivalent to the standard Python __le__ method.
Parameters:
  other - the object to compare this with.
public  int__len__()
     Equivalent to the standard Python __len__ method.
public  PyLong__long__()
     Equivalent to the standard Python __long__ method.
public  PyObject__lshift__(PyObject other)
     Equivalent to the standard Python __lshift__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__lt__(PyObject other)
     Equivalent to the standard Python __lt__ method.
Parameters:
  other - the object to compare this with.
public  PyObject__mod__(PyObject other)
     Equivalent to the standard Python __mod__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__mul__(PyObject other)
     Equivalent to the standard Python __mul__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__ne__(PyObject other)
     Equivalent to the standard Python __ne__ method.
Parameters:
  other - the object to compare this with.
public  PyObject__neg__()
     Equivalent to the standard Python __neg__ method.
public  boolean__nonzero__()
     Equivalent to the standard Python __nonzero__ method.
public  PyObject__not__()
    
public  PyString__oct__()
     Equivalent to the standard Python __oct__ method.
public  PyObject__or__(PyObject other)
     Equivalent to the standard Python __or__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__pos__()
     Equivalent to the standard Python __pos__ method.
public  PyObject__pow__(PyObject o2, PyObject o3)
     Implements the three argument power function.
public  PyObject__pow__(PyObject other)
     Equivalent to the standard Python __pow__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__radd__(PyObject other)
     Equivalent to the standard Python __radd__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rand__(PyObject other)
     Equivalent to the standard Python __rand__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
protected  void__rawdir__(PyDictionary accum)
    
public  PyObject__rdiv__(PyObject other)
     Equivalent to the standard Python __rdiv__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rdivmod__(PyObject other)
     Equivalent to the standard Python __rdivmod__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__reduce__()
     Used for pickling.
public  PyString__repr__()
     Equivalent to the standard Python __repr__ method.
public  PyObject__rfloordiv__(PyObject other)
     Equivalent to the standard Python __rfloordiv__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rlshift__(PyObject other)
     Equivalent to the standard Python __rlshift__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rmod__(PyObject other)
     Equivalent to the standard Python __rmod__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rmul__(PyObject other)
     Equivalent to the standard Python __rmul__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__ror__(PyObject other)
     Equivalent to the standard Python __ror__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rpow__(PyObject other)
     Equivalent to the standard Python __rpow__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rrshift__(PyObject other)
     Equivalent to the standard Python __rrshift__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rshift__(PyObject other)
     Equivalent to the standard Python __rshift__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyObject__rsub__(PyObject other)
     Equivalent to the standard Python __rsub__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rtruediv__(PyObject other)
     Equivalent to the standard Python __rtruediv__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  PyObject__rxor__(PyObject other)
     Equivalent to the standard Python __rxor__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand).
public  void__set__(PyObject obj, PyObject value)
    
final public  void__setattr__(PyString name, PyObject value)
     Equivalent to the standard Python __setattr__ method.
public  void__setattr__(String name, PyObject value)
     A variant of the __setattr__ method which accepts a String as the key.
public  void__setitem__(PyObject key, PyObject value)
     Equivalent to the standard Python __setitem__ method.
public  void__setitem__(String key, PyObject value)
     A variant of the __setitem__ method which accepts a String as the key.
public  void__setitem__(int key, PyObject value)
     A variant of the __setitem__ method which accepts a primitive int as the key.
public  void__setslice__(PyObject s_start, PyObject s_stop, PyObject s_step, PyObject value)
    
public  void__setslice__(PyObject start, PyObject stop, PyObject value)
    
public  PyString__str__()
     Equivalent to the standard Python __str__ method.
public  PyObject__sub__(PyObject other)
     Equivalent to the standard Python __sub__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  Object__tojava__(Class c)
     Equivalent to the Jython __tojava__ method.
public  PyObject__truediv__(PyObject other)
     Equivalent to the standard Python __truediv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
public  PyUnicode__unicode__()
    
public  PyObject__xor__(PyObject other)
     Equivalent to the standard Python __xor__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand).
final public  PyObject_add(PyObject o2)
     Implements the Python expression this + o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_and(PyObject o2)
     Implements the Python expression this & o2
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_add(PyObject o2)
     Implements the Python expression this + o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_and(PyObject o2)
     Implements the Python expression this & o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_div(PyObject o2)
     Implements the Python expression this / o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_divmod(PyObject o2)
     Implements the Python expression this divmod o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_floordiv(PyObject o2)
     Implements the Python expression this // o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_lshift(PyObject o2)
     Implements the Python expression this << o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_mod(PyObject o2)
     Implements the Python expression this % o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_mul(PyObject o2)
     Implements the Python expression this * o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_or(PyObject o2)
     Implements the Python expression this | o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_pow(PyObject o2)
     Implements the Python expression this ** o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_rshift(PyObject o2)
     Implements the Python expression this >> o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_sub(PyObject o2)
     Implements the Python expression this - o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_truediv(PyObject o2)
     Implements the Python expression this / o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
final  PyObject_basic_xor(PyObject o2)
     Implements the Python expression this ^ o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with.
public  PyObject_callextra(PyObject[] args, String[] keywords, PyObject starargs, PyObject kwargs)
    
final public  int_cmp(PyObject o)
     Implements cmp(this, other)
Parameters:
  o - the object to compare this with.
 PyObject[]_coerce(PyObject other)
    
final public  PyObject_div(PyObject o2)
     Implements the Python expression this / o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_divmod(PyObject o2)
     Implements the Python expression this divmod o2
Parameters:
  o2 - the object to perform this binary operation with.
public  PyObject_doget(PyObject container)
    
public  PyObject_doget(PyObject container, PyObject wherefound)
    
public  boolean_doset(PyObject container, PyObject value)
    
final public  PyObject_eq(PyObject o)
     Implements the Python expression this == other.
Parameters:
  o - the object to compare this with.
final public  PyObject_floordiv(PyObject o2)
     Implements the Python expression this // o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_ge(PyObject o)
     Implements the Python expression this >= other.
Parameters:
  o - the object to compare this with.
final public  PyObject_gt(PyObject o)
     Implements the Python expression this > other.
Parameters:
  o - the object to compare this with.
final public  PyObject_in(PyObject o)
     Implements in operator.
Parameters:
  o - the container to search for this element.
public  PyObject_is(PyObject o)
     Implements is operator.
Parameters:
  o - the object to compare this with.
public  PyObject_isnot(PyObject o)
     Implements is not operator.
Parameters:
  o - the object to compare this with.
public  PyObject_jcall(Object[] args)
    
public  PyObject_jcallexc(Object[] args)
     A convenience function for PyProxy's.
public  void_jthrow(Throwable t)
    
final public  PyObject_le(PyObject o)
     Implements the Python expression this <= other.
Parameters:
  o - the object to compare this with.
final public  PyObject_lshift(PyObject o2)
     Implements the Python expression this << o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_lt(PyObject o)
     Implements the Python expression this < other.
Parameters:
  o - the object to compare this with.
final public  PyObject_mod(PyObject o2)
     Implements the Python expression this % o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_mul(PyObject o2)
     Implements the Python expression this * o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_ne(PyObject o)
     Implements the Python expression this != other.
Parameters:
  o - the object to compare this with.
final public  PyObject_notin(PyObject o)
     Implements not in operator.
Parameters:
  o - the container to search for this element.
final public  PyObject_or(PyObject o2)
     Implements the Python expression this | o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_pow(PyObject o2)
     Implements the Python expression this ** o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_rshift(PyObject o2)
     Implements the Python expression this >> o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_sub(PyObject o2)
     Implements the Python expression this - o2
Parameters:
  o2 - the object to perform this binary operation with.
final public  PyObject_truediv(PyObject o2)
     Implements the Python expression this / o2
Parameters:
  o2 - the object to perform this binary operation with.
final protected  String_unsupportedop(String op, PyObject o2)
    
Parameters:
  op - the String form of the op (e.g.
final public  PyObject_xor(PyObject o2)
     Implements the Python expression this ^ o2
Parameters:
  o2 - the object to perform this binary operation with.
protected  voidaddKeys(PyDictionary accum, String attr)
    
public  intasInt(int index)
    
public  longasLong(int index)
    
public  StringasName(int index)
    
public  StringasString(int index)
    
public  StringasStringOrNull(int index)
    
public  voiddelDict()
    
public  voiddelType()
    
public  voiddispatch__init__(PyType type, PyObject[] args, String[] keywords)
    
public  booleanequals(Object ob_other)
     Should almost never be overridden.
public  PyObjectfastGetClass()
    
public  PyObjectfastGetDict()
    
public  PyObjectgetDict()
    
public  PyObjectgetDoc()
    
public  PyTypegetType()
    
public  inthashCode()
    
protected  PyObjectimpAttr(String name)
    
public  booleanimplementsDescrDelete()
    
public  booleanimplementsDescrSet()
    
public  PyObjectinvoke(String name, PyObject[] args, String[] keywords)
     Shortcut for calling a method on a PyObject from Java. This form is equivalent to o.__getattr__(name).__call__(args, keywords)
Parameters:
  name - the name of the method to call.
public  PyObjectinvoke(String name, PyObject[] args)
    
public  PyObjectinvoke(String name)
     Shortcut for calling a method on a PyObject with no args.
Parameters:
  name - the name of the method to call.
public  PyObjectinvoke(String name, PyObject arg1)
     Shortcut for calling a method on a PyObject with one arg.
Parameters:
  name - the name of the method to call.
public  PyObjectinvoke(String name, PyObject arg1, PyObject arg2)
     Shortcut for calling a method on a PyObject with two args.
Parameters:
  name - the name of the method to call.
public  booleanisCallable()
    
public  booleanisDataDescr()
    
public  booleanisMappingType()
    
public  booleanisNumberType()
    
public  booleanisSequenceType()
    
 booleanjdontdel()
    
 booleanjtryset(PyObject container, PyObject value)
    
public  voidnoAttributeError(String name)
    
final  booleanobject___contains__(PyObject o)
    
final  voidobject___delattr__(String name)
    
final  PyObjectobject___findattr__(String name)
    
final  PyObjectobject___reduce__()
    
final  voidobject___setattr__(String name, PyObject value)
    
final  intobject_hashCode()
    
final  voidobject_init(PyObject[] args, String[] keywords)
    
final  Stringobject_toString()
    
public  voidreadonlyAttributeError(String name)
    
protected  StringrunsupportedopMessage(String op, PyObject o2)
     Should return an error message suitable for substitution where.
public  StringsafeRepr()
    
public  voidsetDict(PyObject newDict)
    
public  voidsetType(PyType type)
    
public  StringtoString()
    
public static  voidtypeSetup(PyObject dict, PyType.Newstyle marker)
    
protected  StringunsupportedopMessage(String op, PyObject o2)
     Should return an error message suitable for substitution where.

Field Detail
exposed_name
final public static String exposed_name(Code)




Constructor Detail
PyObject
public PyObject(PyType objtype)(Code)



PyObject
PyObject(boolean dummy)(Code)



PyObject
public PyObject()(Code)
The standard constructor for a PyObject. It will set the __class__ field to correspond to the specific subclass of PyObject being instantiated.




Method Detail
__abs__
public PyObject __abs__()(Code)
Equivalent to the standard Python __abs__ method. abs(this).



__add__
public PyObject __add__(PyObject other)(Code)
Equivalent to the standard Python __add__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the add, or null if this operationis not defined



__and__
public PyObject __and__(PyObject other)(Code)
Equivalent to the standard Python __and__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the and, or null if this operationis not defined



__call__
public PyObject __call__(PyObject args, String keywords)(Code)
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.
Parameters:
  args - all arguments to the function (includingkeyword arguments).
Parameters:
  keywords - the keywords used for all keyword arguments.



__call__
public PyObject __call__(PyObject arg1, PyObject args, String keywords)(Code)
A variant of the __call__ method with one extra initial argument. This variant is used to allow method invocations to be performed efficiently. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
Parameters:
  arg1 - the first argument to the function.
Parameters:
  args - the last arguments to the function (includingkeyword arguments).
Parameters:
  keywords - the keywords used for all keyword arguments.



__call__
public PyObject __call__(PyObject args)(Code)
A variant of the __call__ method when no keywords are passed. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
Parameters:
  args - all arguments to the function.



__call__
public PyObject __call__()(Code)
A variant of the __call__ method with no arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.



__call__
public PyObject __call__(PyObject arg0)(Code)
A variant of the __call__ method with one argument. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
Parameters:
  arg0 - the single argument to the function.



__call__
public PyObject __call__(PyObject arg0, PyObject arg1)(Code)
A variant of the __call__ method with two arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
Parameters:
  arg0 - the first argument to the function.
Parameters:
  arg1 - the second argument to the function.



__call__
public PyObject __call__(PyObject arg0, PyObject arg1, PyObject arg2)(Code)
A variant of the __call__ method with three arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
Parameters:
  arg0 - the first argument to the function.
Parameters:
  arg1 - the second argument to the function.
Parameters:
  arg2 - the third argument to the function.



__call__
public PyObject __call__(PyObject arg0, PyObject arg1, PyObject arg2, PyObject arg3)(Code)
A variant of the __call__ method with four arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
Parameters:
  arg0 - the first argument to the function.
Parameters:
  arg1 - the second argument to the function.
Parameters:
  arg2 - the third argument to the function.
Parameters:
  arg3 - the fourth argument to the function.



__cmp__
public int __cmp__(PyObject other)(Code)
Equivalent to the standard Python __cmp__ method.
Parameters:
  other - the object to compare this with. -1 if this < 0; 0 if this == o; +1 if this > o; -2 if nocomparison is implemented



__coerce__
final public PyObject __coerce__(PyObject pyo)(Code)
Equivalent to the standard Python __coerce__ method. This method can not be overridden. To implement __coerce__ functionality, override __coerce_ex__ instead.
Parameters:
  pyo - the other object involved in the coercion. a tuple of this object and pyo coerced to the same typeor Py.None if no coercion is possible.
See Also:   org.python.core.PyObject.__coerce_ex__(org.python.core.PyObject)



__coerce_ex__
public Object __coerce_ex__(PyObject o)(Code)
Implements numeric coercion
Parameters:
  o - the other object involved in the coercion null if no coercion is possible;a single PyObject to use to replace o if this is unchanged;or a PyObject[2] consisting of replacements for this and o.



__complex__
public PyComplex __complex__()(Code)
Equivalent to the standard Python __complex__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python complex number. a complex number corresponding to the value of this object.



__contains__
public boolean __contains__(PyObject o)(Code)
Equivalent to the standard Python __contains__ method.
Parameters:
  o - the element to search for in this container. the result of the search.



__delattr__
final public void __delattr__(PyString name)(Code)
Equivalent to the standard Python __delattr__ method. This method can not be overridden.
Parameters:
  name - the name to which will be removed
exception:
  Py.AttributeError - if the name doesn't exist
See Also:   PyObject.__delattr__(java.lang.String)



__delattr__
public void __delattr__(String name)(Code)
A variant of the __delattr__ method which accepts a String as the key. This String must be interned. By default, this will call __delattr__(PyString name) with the appropriate args. The only reason to override this method is for performance.
Parameters:
  name - the name which will be removed - must be an interned string .
exception:
  Py.AttributeError - if the name doesn't exist
See Also:   PyObject.__delattr__(PyString)



__delete__
public void __delete__(PyObject obj)(Code)



__delitem__
public void __delitem__(PyObject key)(Code)
Equivalent to the standard Python __delitem__ method.
Parameters:
  key - the key to be removed from the container
exception:
  Py.KeyError - if the key is not found in the container



__delitem__
public void __delitem__(String key)(Code)
A variant of the __delitem__ method which accepts a String as the key. This String must be interned. By default, this will call __delitem__(PyObject key) with the appropriate args. The only reason to override this method is for performance.
Parameters:
  key - the key who will be removed - must be an interned string .
exception:
  Py.KeyError - if the key is not found in the container
See Also:   PyObject.__delitem__(PyObject)



__delslice__
public void __delslice__(PyObject s_start, PyObject s_stop, PyObject s_step)(Code)



__delslice__
public void __delslice__(PyObject start, PyObject stop)(Code)



__dir__
public PyObject __dir__()(Code)
Equivalent to the standard Python __dir__ method. a list of names defined by this object.



__div__
public PyObject __div__(PyObject other)(Code)
Equivalent to the standard Python __div__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the div, or null if this operationis not defined



__divmod__
public PyObject __divmod__(PyObject other)(Code)
Equivalent to the standard Python __divmod__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the divmod, or null if this operationis not defined



__eq__
public PyObject __eq__(PyObject other)(Code)
Equivalent to the standard Python __eq__ method.
Parameters:
  other - the object to compare this with. the result of the comparison.



__findattr__
final public PyObject __findattr__(PyString name)(Code)
Very similar to the standard Python __getattr__ method. Instead of throwing a AttributeError if the item isn't found, this just returns null. By default, this method will call __findattr__(name.internedString) with the appropriate args. Classes that wish to implement __getattr__ should override this method instead (with the appropriate semantics.
Parameters:
  name - the name to lookup in this namespace the value corresponding to name or null if name is not found



__findattr__
public PyObject __findattr__(String name)(Code)
A variant of the __findattr__ method which accepts a Java String as the name. Warning: name must be an interned string!
Parameters:
  name - the name to lookup in this namespace must be an interned string . the value corresponding to name or null if name is not found
See Also:   PyObject.__findattr__(PyString)



__finditem__
public PyObject __finditem__(PyObject key)(Code)
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.
Parameters:
  key - the key to lookup in this container the value corresponding to key or null if key is not found



__finditem__
public PyObject __finditem__(int key)(Code)
A variant of the __finditem__ method which accepts a primitive int as the key. By default, this method will call __finditem__(PyObject key) with the appropriate args. The only reason to override this method is for performance.
Parameters:
  key - the key to lookup in this sequence. the value corresponding to key or null if key is not found.
See Also:   PyObject.__finditem__(PyObject)



__finditem__
public PyObject __finditem__(String key)(Code)
A variant of the __finditem__ method which accepts a Java String as the key. By default, this method will call __finditem__(PyObject key) with the appropriate args. The only reason to override this method is for performance. Warning: key must be an interned string!!!!!!!!
Parameters:
  key - the key to lookup in this sequence - must be an interned string . the value corresponding to key or null if key is not found.
See Also:   PyObject.__finditem__(PyObject)



__float__
public PyFloat __float__()(Code)
Equivalent to the standard Python __float__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python float. a float corresponding to the value of this object.



__floordiv__
public PyObject __floordiv__(PyObject other)(Code)
Equivalent to the standard Python __floordiv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the floordiv, or null if this operationis not defined



__ge__
public PyObject __ge__(PyObject other)(Code)
Equivalent to the standard Python __ge__ method.
Parameters:
  other - the object to compare this with. the result of the comparison.



__get__
public PyObject __get__(PyObject obj, PyObject type)(Code)



__getattr__
final public PyObject __getattr__(PyString name)(Code)
Equivalent to the standard Python __getattr__ method. This method can not be overridden. Override the __findattr__ method instead.
Parameters:
  name - the name to lookup in this namespace the value corresponding to name
exception:
  Py.AttributeError - if the name is not found.
See Also:   PyObject.__findattr__(PyString)



__getattr__
final public PyObject __getattr__(String name)(Code)
A variant of the __getattr__ method which accepts a Java String as the name. This method can not be overridden. Override the __findattr__ method instead. Warning: name must be an interned string!!!!!!!!
Parameters:
  name - the name to lookup in this namespace must be an interned string . the value corresponding to name
exception:
  Py.AttributeError - if the name is not found.
See Also:   PyObject.__findattr__(java.lang.String)



__getitem__
public PyObject __getitem__(int key)(Code)
Equivalent to the standard Python __getitem__ method. This variant takes a primitive int as the key. This method should not be overridden. Override the __finditem__ method instead.
Parameters:
  key - the key to lookup in this container. the value corresponding to that key.
exception:
  Py.KeyError - if the key is not found.
See Also:   PyObject.__finditem__(int)



__getitem__
public PyObject __getitem__(PyObject key)(Code)
Equivalent to the standard Python __getitem__ method. This method should not be overridden. Override the __finditem__ method instead.
Parameters:
  key - the key to lookup in this container. the value corresponding to that key.
exception:
  Py.KeyError - if the key is not found.
See Also:   PyObject.__finditem__(PyObject)



__getnewargs__
public PyTuple __getnewargs__()(Code)



__getslice__
public PyObject __getslice__(PyObject s_start, PyObject s_stop, PyObject s_step)(Code)



__getslice__
public PyObject __getslice__(PyObject start, PyObject stop)(Code)



__gt__
public PyObject __gt__(PyObject other)(Code)
Equivalent to the standard Python __gt__ method.
Parameters:
  other - the object to compare this with. the result of the comparison.



__hash__
final public PyInteger __hash__()(Code)
Equivalent to the standard Python __hash__ method. This method can not be overridden. Instead, you should override the standard Java hashCode method to return an appropriate hash code for the PyObject.



__hex__
public PyString __hex__()(Code)
Equivalent to the standard Python __hex__ method Should only be overridden by numeric objects that can be reasonably represented as a hexadecimal string. a string representing this object as a hexadecimal number.



__iadd__
public PyObject __iadd__(PyObject other)(Code)
Equivalent to the standard Python __iadd__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the add, or null if this operationis not defined



__iand__
public PyObject __iand__(PyObject other)(Code)
Equivalent to the standard Python __iand__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the and, or null if this operationis not defined



__idiv__
public PyObject __idiv__(PyObject other)(Code)
Equivalent to the standard Python __idiv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the div, or null if this operationis not defined



__idivmod__
public PyObject __idivmod__(PyObject other)(Code)
Equivalent to the standard Python __idivmod__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the divmod, or null if this operationis not defined



__ifloordiv__
public PyObject __ifloordiv__(PyObject other)(Code)
Equivalent to the standard Python __ifloordiv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the floordiv, or null if this operationis not defined



__ilshift__
public PyObject __ilshift__(PyObject other)(Code)
Equivalent to the standard Python __ilshift__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the lshift, or null if this operationis not defined



__imod__
public PyObject __imod__(PyObject other)(Code)
Equivalent to the standard Python __imod__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the mod, or null if this operationis not defined



__imul__
public PyObject __imul__(PyObject other)(Code)
Equivalent to the standard Python __imul__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the mul, or null if this operationis not defined



__int__
public PyObject __int__()(Code)
Equivalent to the standard Python __int__ method. Should only be overridden by numeric objects that can be reasonably coerced into an integer. an integer corresponding to the value of this object.



__invert__
public PyObject __invert__()(Code)
Equivalent to the standard Python __invert__ method. ~this.



__ior__
public PyObject __ior__(PyObject other)(Code)
Equivalent to the standard Python __ior__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the or, or null if this operationis not defined



__ipow__
public PyObject __ipow__(PyObject other)(Code)
Equivalent to the standard Python __ipow__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the pow, or null if this operationis not defined



__irshift__
public PyObject __irshift__(PyObject other)(Code)
Equivalent to the standard Python __irshift__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the rshift, or null if this operationis not defined



__isub__
public PyObject __isub__(PyObject other)(Code)
Equivalent to the standard Python __isub__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the sub, or null if this operationis not defined



__iter__
public PyObject __iter__()(Code)
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:
 PyObject iter = seq.__iter__();
 for (PyObject item; (item = iter.__iternext__()) != null;)  {
 // Do somting with item
 }
 

since:
   2.2



__iternext__
public PyObject __iternext__()(Code)
Return the next element of the sequence that this is an iterator for. Returns null when the end of the sequence is reached.
since:
   2.2



__itruediv__
public PyObject __itruediv__(PyObject other)(Code)
Equivalent to the standard Python __itruediv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the truediv, or null if this operationis not defined



__ixor__
public PyObject __ixor__(PyObject other)(Code)
Equivalent to the standard Python __ixor__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the xor, or null if this operationis not defined



__le__
public PyObject __le__(PyObject other)(Code)
Equivalent to the standard Python __le__ method.
Parameters:
  other - the object to compare this with. the result of the comparison.



__len__
public int __len__()(Code)
Equivalent to the standard Python __len__ method. Part of the mapping discipline. the length of the object



__long__
public PyLong __long__()(Code)
Equivalent to the standard Python __long__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python long. a PyLong corresponding to the value of this object.



__lshift__
public PyObject __lshift__(PyObject other)(Code)
Equivalent to the standard Python __lshift__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the lshift, or null if this operationis not defined



__lt__
public PyObject __lt__(PyObject other)(Code)
Equivalent to the standard Python __lt__ method.
Parameters:
  other - the object to compare this with. the result of the comparison.



__mod__
public PyObject __mod__(PyObject other)(Code)
Equivalent to the standard Python __mod__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the mod, or null if this operationis not defined



__mul__
public PyObject __mul__(PyObject other)(Code)
Equivalent to the standard Python __mul__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the mul, or null if this operationis not defined



__ne__
public PyObject __ne__(PyObject other)(Code)
Equivalent to the standard Python __ne__ method.
Parameters:
  other - the object to compare this with. the result of the comparison.



__neg__
public PyObject __neg__()(Code)
Equivalent to the standard Python __neg__ method. -this.



__nonzero__
public boolean __nonzero__()(Code)
Equivalent to the standard Python __nonzero__ method. Returns whether of not a given PyObject is considered true.



__not__
public PyObject __not__()(Code)
Implements boolean not not this.



__oct__
public PyString __oct__()(Code)
Equivalent to the standard Python __oct__ method. Should only be overridden by numeric objects that can be reasonably represented as an octal string. a string representing this object as an octal number.



__or__
public PyObject __or__(PyObject other)(Code)
Equivalent to the standard Python __or__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the or, or null if this operationis not defined



__pos__
public PyObject __pos__()(Code)
Equivalent to the standard Python __pos__ method. +this.



__pow__
public PyObject __pow__(PyObject o2, PyObject o3)(Code)
Implements the three argument power function.
Parameters:
  o2 - the power to raise this number to.
Parameters:
  o3 - the modulus to perform this operation in or null if nomodulo is to be used this object raised to the given power in the given modulus



__pow__
public PyObject __pow__(PyObject other)(Code)
Equivalent to the standard Python __pow__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the pow, or null if this operationis not defined



__radd__
public PyObject __radd__(PyObject other)(Code)
Equivalent to the standard Python __radd__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the add, or null if this operationis not defined.



__rand__
public PyObject __rand__(PyObject other)(Code)
Equivalent to the standard Python __rand__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the and, or null if this operationis not defined.



__rawdir__
protected void __rawdir__(PyDictionary accum)(Code)



__rdiv__
public PyObject __rdiv__(PyObject other)(Code)
Equivalent to the standard Python __rdiv__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the div, or null if this operationis not defined.



__rdivmod__
public PyObject __rdivmod__(PyObject other)(Code)
Equivalent to the standard Python __rdivmod__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the divmod, or null if this operationis not defined.



__reduce__
public PyObject __reduce__()(Code)
Used for pickling. a tuple of (class, tuple)



__repr__
public PyString __repr__()(Code)
Equivalent to the standard Python __repr__ method. This method should not typically need to be overrriden. The easiest way to configure the string representation of a PyObject is to override the standard Java toString method.



__rfloordiv__
public PyObject __rfloordiv__(PyObject other)(Code)
Equivalent to the standard Python __rfloordiv__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the floordiv, or null if this operationis not defined.



__rlshift__
public PyObject __rlshift__(PyObject other)(Code)
Equivalent to the standard Python __rlshift__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the lshift, or null if this operationis not defined.



__rmod__
public PyObject __rmod__(PyObject other)(Code)
Equivalent to the standard Python __rmod__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the mod, or null if this operationis not defined.



__rmul__
public PyObject __rmul__(PyObject other)(Code)
Equivalent to the standard Python __rmul__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the mul, or null if this operationis not defined.



__ror__
public PyObject __ror__(PyObject other)(Code)
Equivalent to the standard Python __ror__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the or, or null if this operationis not defined.



__rpow__
public PyObject __rpow__(PyObject other)(Code)
Equivalent to the standard Python __rpow__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the pow, or null if this operationis not defined.



__rrshift__
public PyObject __rrshift__(PyObject other)(Code)
Equivalent to the standard Python __rrshift__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the rshift, or null if this operationis not defined.



__rshift__
public PyObject __rshift__(PyObject other)(Code)
Equivalent to the standard Python __rshift__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the rshift, or null if this operationis not defined



__rsub__
public PyObject __rsub__(PyObject other)(Code)
Equivalent to the standard Python __rsub__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the sub, or null if this operationis not defined.



__rtruediv__
public PyObject __rtruediv__(PyObject other)(Code)
Equivalent to the standard Python __rtruediv__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the truediv, or null if this operationis not defined.



__rxor__
public PyObject __rxor__(PyObject other)(Code)
Equivalent to the standard Python __rxor__ method
Parameters:
  other - the object to perform this binary operation with(the left-hand operand). the result of the xor, or null if this operationis not defined.



__set__
public void __set__(PyObject obj, PyObject value)(Code)



__setattr__
final public void __setattr__(PyString name, PyObject value)(Code)
Equivalent to the standard Python __setattr__ method. This method can not be overridden.
Parameters:
  name - the name to lookup in this namespace
exception:
  Py.AttributeError - if the name is not found.
See Also:   PyObject.__setattr__(java.lang.String,PyObject)



__setattr__
public void __setattr__(String name, PyObject value)(Code)
A variant of the __setattr__ method which accepts a String as the key. This String must be interned.
Parameters:
  name - the name whose value will be set - must be an interned string .
Parameters:
  value - the value to set this name to
See Also:   PyObject.__setattr__(PyString,PyObject)



__setitem__
public void __setitem__(PyObject key, PyObject value)(Code)
Equivalent to the standard Python __setitem__ method.
Parameters:
  key - the key whose value will be set
Parameters:
  value - the value to set this key to



__setitem__
public void __setitem__(String key, PyObject value)(Code)
A variant of the __setitem__ method which accepts a String as the key. This String must be interned. By default, this will call __setitem__(PyObject key, PyObject value) with the appropriate args. The only reason to override this method is for performance.
Parameters:
  key - the key whose value will be set - must be an interned string .
Parameters:
  value - the value to set this key to
See Also:   PyObject.__setitem__(PyObject,PyObject)



__setitem__
public void __setitem__(int key, PyObject value)(Code)
A variant of the __setitem__ method which accepts a primitive int as the key. By default, this will call __setitem__(PyObject key, PyObject value) with the appropriate args. The only reason to override this method is for performance.
Parameters:
  key - the key whose value will be set
Parameters:
  value - the value to set this key to
See Also:   PyObject.__setitem__(PyObject,PyObject)



__setslice__
public void __setslice__(PyObject s_start, PyObject s_stop, PyObject s_step, PyObject value)(Code)



__setslice__
public void __setslice__(PyObject start, PyObject stop, PyObject value)(Code)



__str__
public PyString __str__()(Code)
Equivalent to the standard Python __str__ method. This method should not typically need to be overridden. The easiest way to configure the string representation of a PyObject is to override the standard Java toString method.



__sub__
public PyObject __sub__(PyObject other)(Code)
Equivalent to the standard Python __sub__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the sub, or null if this operationis not defined



__tojava__
public Object __tojava__(Class c)(Code)
Equivalent to the Jython __tojava__ method. Tries to coerce this object to an instance of the requested Java class. Returns the special object Py.NoConversion if this PyObject can not be converted to the desired Java class.
Parameters:
  c - the Class to convert this PyObject to.



__truediv__
public PyObject __truediv__(PyObject other)(Code)
Equivalent to the standard Python __truediv__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the truediv, or null if this operationis not defined



__unicode__
public PyUnicode __unicode__()(Code)



__xor__
public PyObject __xor__(PyObject other)(Code)
Equivalent to the standard Python __xor__ method
Parameters:
  other - the object to perform this binary operation with(the right-hand operand). the result of the xor, or null if this operationis not defined



_add
final public PyObject _add(PyObject o2)(Code)
Implements the Python expression this + o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the add.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_and
final public PyObject _and(PyObject o2)(Code)
Implements the Python expression this & o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the and.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_add
final PyObject _basic_add(PyObject o2)(Code)
Implements the Python expression this + o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the add.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_and
final PyObject _basic_and(PyObject o2)(Code)
Implements the Python expression this & o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the and.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_div
final PyObject _basic_div(PyObject o2)(Code)
Implements the Python expression this / o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the div.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_divmod
final PyObject _basic_divmod(PyObject o2)(Code)
Implements the Python expression this divmod o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the divmod.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_floordiv
final PyObject _basic_floordiv(PyObject o2)(Code)
Implements the Python expression this // o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the floordiv.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_lshift
final PyObject _basic_lshift(PyObject o2)(Code)
Implements the Python expression this << o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the lshift.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_mod
final PyObject _basic_mod(PyObject o2)(Code)
Implements the Python expression this % o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the mod.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_mul
final PyObject _basic_mul(PyObject o2)(Code)
Implements the Python expression this * o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the mul.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_or
final PyObject _basic_or(PyObject o2)(Code)
Implements the Python expression this | o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the or.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_pow
final PyObject _basic_pow(PyObject o2)(Code)
Implements the Python expression this ** o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the pow.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_rshift
final PyObject _basic_rshift(PyObject o2)(Code)
Implements the Python expression this >> o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the rshift.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_sub
final PyObject _basic_sub(PyObject o2)(Code)
Implements the Python expression this - o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the sub.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_truediv
final PyObject _basic_truediv(PyObject o2)(Code)
Implements the Python expression this / o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the truediv.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_basic_xor
final PyObject _basic_xor(PyObject o2)(Code)
Implements the Python expression this ^ o2 when this and o2 have the same type or are builtin types.
Parameters:
  o2 - the object to perform this binary operation with. the result of the xor.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_callextra
public PyObject _callextra(PyObject[] args, String[] keywords, PyObject starargs, PyObject kwargs)(Code)



_cmp
final public int _cmp(PyObject o)(Code)
Implements cmp(this, other)
Parameters:
  o - the object to compare this with. -1 if this < 0; 0 if this == o; +1 if this > o



_coerce
PyObject[] _coerce(PyObject other)(Code)
Implements coerce(this,other), result as PyObject[]
Parameters:
  other - PyObject[]



_div
final public PyObject _div(PyObject o2)(Code)
Implements the Python expression this / o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the div.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_divmod
final public PyObject _divmod(PyObject o2)(Code)
Implements the Python expression this divmod o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the divmod.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_doget
public PyObject _doget(PyObject container)(Code)



_doget
public PyObject _doget(PyObject container, PyObject wherefound)(Code)



_doset
public boolean _doset(PyObject container, PyObject value)(Code)



_eq
final public PyObject _eq(PyObject o)(Code)
Implements the Python expression this == other.
Parameters:
  o - the object to compare this with. the result of the comparison



_floordiv
final public PyObject _floordiv(PyObject o2)(Code)
Implements the Python expression this // o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the floordiv.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_ge
final public PyObject _ge(PyObject o)(Code)
Implements the Python expression this >= other.
Parameters:
  o - the object to compare this with. the result of the comparison



_gt
final public PyObject _gt(PyObject o)(Code)
Implements the Python expression this > other.
Parameters:
  o - the object to compare this with. the result of the comparison



_in
final public PyObject _in(PyObject o)(Code)
Implements in operator.
Parameters:
  o - the container to search for this element. the result of the search.



_is
public PyObject _is(PyObject o)(Code)
Implements is operator.
Parameters:
  o - the object to compare this with. the result of the comparison



_isnot
public PyObject _isnot(PyObject o)(Code)
Implements is not operator.
Parameters:
  o - the object to compare this with. the result of the comparison



_jcall
public PyObject _jcall(Object[] args)(Code)



_jcallexc
public PyObject _jcallexc(Object[] args) throws Throwable(Code)
A convenience function for PyProxy's.
Parameters:
  args - call arguments.
exception:
  Throwable -



_jthrow
public void _jthrow(Throwable t)(Code)



_le
final public PyObject _le(PyObject o)(Code)
Implements the Python expression this <= other.
Parameters:
  o - the object to compare this with. the result of the comparison



_lshift
final public PyObject _lshift(PyObject o2)(Code)
Implements the Python expression this << o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the lshift.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_lt
final public PyObject _lt(PyObject o)(Code)
Implements the Python expression this < other.
Parameters:
  o - the object to compare this with. the result of the comparison



_mod
final public PyObject _mod(PyObject o2)(Code)
Implements the Python expression this % o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the mod.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_mul
final public PyObject _mul(PyObject o2)(Code)
Implements the Python expression this * o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the mul.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_ne
final public PyObject _ne(PyObject o)(Code)
Implements the Python expression this != other.
Parameters:
  o - the object to compare this with. the result of the comparison



_notin
final public PyObject _notin(PyObject o)(Code)
Implements not in operator.
Parameters:
  o - the container to search for this element. the result of the search.



_or
final public PyObject _or(PyObject o2)(Code)
Implements the Python expression this | o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the or.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_pow
final public PyObject _pow(PyObject o2)(Code)
Implements the Python expression this ** o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the pow.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_rshift
final public PyObject _rshift(PyObject o2)(Code)
Implements the Python expression this >> o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the rshift.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_sub
final public PyObject _sub(PyObject o2)(Code)
Implements the Python expression this - o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the sub.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_truediv
final public PyObject _truediv(PyObject o2)(Code)
Implements the Python expression this / o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the truediv.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



_unsupportedop
final protected String _unsupportedop(String op, PyObject o2)(Code)

Parameters:
  op - the String form of the op (e.g. "+")
Parameters:
  o2 - the right operand



_xor
final public PyObject _xor(PyObject o2)(Code)
Implements the Python expression this ^ o2
Parameters:
  o2 - the object to perform this binary operation with. the result of the xor.
exception:
  Py.TypeError - if this operation can't be performedwith these operands.



addKeys
protected void addKeys(PyDictionary accum, String attr)(Code)



asInt
public int asInt(int index) throws ConversionException(Code)



asLong
public long asLong(int index) throws ConversionException(Code)



asName
public String asName(int index) throws ConversionException(Code)



asString
public String asString(int index) throws ConversionException(Code)



asStringOrNull
public String asStringOrNull(int index) throws ConversionException(Code)



delDict
public void delDict()(Code)



delType
public void delType()(Code)



dispatch__init__
public void dispatch__init__(PyType type, PyObject[] args, String[] keywords)(Code)
Dispatch __init__ behavior



equals
public boolean equals(Object ob_other)(Code)
Should almost never be overridden. If overridden, it is the subclasses responsibility to ensure that a.equals(b) == true iff cmp(a,b) == 0



fastGetClass
public PyObject fastGetClass()(Code)



fastGetDict
public PyObject fastGetDict()(Code)
xxx implements where meaningful internal object per instance dict or null



getDict
public PyObject getDict()(Code)
xxx implements where meaningful internal object __dict__ or null



getDoc
public PyObject getDoc()(Code)



getType
public PyType getType()(Code)



hashCode
public int hashCode()(Code)



impAttr
protected PyObject impAttr(String name)(Code)



implementsDescrDelete
public boolean implementsDescrDelete()(Code)



implementsDescrSet
public boolean implementsDescrSet()(Code)



invoke
public PyObject invoke(String name, PyObject[] args, String[] keywords)(Code)
Shortcut for calling a method on a PyObject from Java. This form is equivalent to o.__getattr__(name).__call__(args, keywords)
Parameters:
  name - the name of the method to call. This must be aninterned string!
Parameters:
  args - an array of the arguments to the call.
Parameters:
  keywords - the keywords to use in the call. the result of calling the method name with args and keywords.



invoke
public PyObject invoke(String name, PyObject[] args)(Code)



invoke
public PyObject invoke(String name)(Code)
Shortcut for calling a method on a PyObject with no args.
Parameters:
  name - the name of the method to call. This must be aninterned string! the result of calling the method name with no args



invoke
public PyObject invoke(String name, PyObject arg1)(Code)
Shortcut for calling a method on a PyObject with one arg.
Parameters:
  name - the name of the method to call. This must be aninterned string!
Parameters:
  arg1 - the one argument of the method. the result of calling the method name with arg1



invoke
public PyObject invoke(String name, PyObject arg1, PyObject arg2)(Code)
Shortcut for calling a method on a PyObject with two args.
Parameters:
  name - the name of the method to call. This must be aninterned string!
Parameters:
  arg1 - the first argument of the method.
Parameters:
  arg2 - the second argument of the method. the result of calling the method name with arg1 and arg2



isCallable
public boolean isCallable()(Code)



isDataDescr
public boolean isDataDescr()(Code)



isMappingType
public boolean isMappingType()(Code)



isNumberType
public boolean isNumberType()(Code)



isSequenceType
public boolean isSequenceType()(Code)



jdontdel
boolean jdontdel()(Code)



jtryset
boolean jtryset(PyObject container, PyObject value)(Code)



noAttributeError
public void noAttributeError(String name)(Code)



object___contains__
final boolean object___contains__(PyObject o)(Code)



object___delattr__
final void object___delattr__(String name)(Code)



object___findattr__
final PyObject object___findattr__(String name)(Code)



object___reduce__
final PyObject object___reduce__()(Code)



object___setattr__
final void object___setattr__(String name, PyObject value)(Code)



object_hashCode
final int object_hashCode()(Code)



object_init
final void object_init(PyObject[] args, String[] keywords)(Code)



object_toString
final String object_toString()(Code)



readonlyAttributeError
public void readonlyAttributeError(String name)(Code)



runsupportedopMessage
protected String runsupportedopMessage(String op, PyObject o2)(Code)
Should return an error message suitable for substitution where. {0} is the op name. {1} is the left operand type. {2} is the right operand type.



safeRepr
public String safeRepr() throws PyIgnoreMethodTag(Code)



setDict
public void setDict(PyObject newDict)(Code)



setType
public void setType(PyType type)(Code)



toString
public String toString()(Code)



typeSetup
public static void typeSetup(PyObject dict, PyType.Newstyle marker)(Code)



unsupportedopMessage
protected String unsupportedopMessage(String op, PyObject o2)(Code)
Should return an error message suitable for substitution where. {0} is the op name. {1} is the left operand type. {2} is the right operand type.



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify() throws IllegalMonitorStateException(Code)(Java Doc)
final public void notifyAll() throws IllegalMonitorStateException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait() throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms, int ns) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.