Java Doc for PyStringMap.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
      org.python.core.PyStringMap

PyStringMap
public class PyStringMap extends PyObject (Code)
A faster Dictionary where the keys have to be strings.

This is the default for all __dict__ instances.




Constructor Summary
public  PyStringMap(int capacity)
    
public  PyStringMap()
    
public  PyStringMap(PyObject elements)
    

Method Summary
public synchronized  int__cmp__(PyObject other)
    
public synchronized  void__delitem__(String key)
    
public  void__delitem__(PyObject key)
    
public synchronized  PyObject__finditem__(String key)
    
public  PyObject__finditem__(PyObject key)
    
public  PyObject__iter__()
    
public synchronized  int__len__()
    
public synchronized  boolean__nonzero__()
    
public synchronized  void__setitem__(String key, PyObject value)
    
public  void__setitem__(PyObject key, PyObject value)
    
public synchronized  voidclear()
     Remove all items from the dictionary.
public synchronized  PyStringMapcopy()
     Return a shallow copy of the dictionary.
public  PyObjectget(PyObject key, PyObject default_object)
     Return this[key] if the key exists in the mapping, default_object is returned otherwise.
public  PyObjectget(PyObject key)
     Return this[key] if the key exists in the mapping, None is returned otherwise.
public  booleanhas_key(PyObject key)
     Return true if the key exist in the dictionary.
public synchronized  PyListitems()
     Return a copy of the mappings list of (key, value) tuple pairs.
public synchronized  PyObjectiteritems()
    
public synchronized  PyObjectiterkeys()
    
public synchronized  PyObjectitervalues()
    
synchronized  String[]jkeys()
    
public synchronized  PyListkeys()
     Return a copy of the mappings list of keys.
public synchronized  PyObjectpopitem()
     Return a random (key, value) tuple pair and remove the pair from the mapping.
public  PyObjectsetdefault(PyObject key)
     Return this[key] if the key exist, otherwise insert key with a None value and return None.
public  PyObjectsetdefault(PyObject key, PyObject failobj)
    
public synchronized  StringtoString()
    
public synchronized  voidupdate(PyStringMap map)
     Insert all the key:value pairs from map into this mapping.
public  voidupdate(PyDictionary dict)
     Insert all the key:value pairs from dict into this mapping.
public synchronized  PyListvalues()
     Return a copy of the mappings list of values.


Constructor Detail
PyStringMap
public PyStringMap(int capacity)(Code)



PyStringMap
public PyStringMap()(Code)



PyStringMap
public PyStringMap(PyObject elements)(Code)




Method Detail
__cmp__
public synchronized int __cmp__(PyObject other)(Code)



__delitem__
public synchronized void __delitem__(String key)(Code)



__delitem__
public void __delitem__(PyObject key)(Code)



__finditem__
public synchronized PyObject __finditem__(String key)(Code)



__finditem__
public PyObject __finditem__(PyObject key)(Code)



__iter__
public PyObject __iter__()(Code)



__len__
public synchronized int __len__()(Code)



__nonzero__
public synchronized boolean __nonzero__()(Code)



__setitem__
public synchronized void __setitem__(String key, PyObject value)(Code)



__setitem__
public void __setitem__(PyObject key, PyObject value)(Code)



clear
public synchronized void clear()(Code)
Remove all items from the dictionary.



copy
public synchronized PyStringMap copy()(Code)
Return a shallow copy of the dictionary.



get
public PyObject get(PyObject key, PyObject default_object)(Code)
Return this[key] if the key exists in the mapping, default_object is returned otherwise.
Parameters:
  key - the key to lookup in the mapping.
Parameters:
  default_object - the value to return if the key does notexists in the mapping.



get
public PyObject get(PyObject key)(Code)
Return this[key] if the key exists in the mapping, None is returned otherwise.
Parameters:
  key - the key to lookup in the mapping.



has_key
public boolean has_key(PyObject key)(Code)
Return true if the key exist in the dictionary.



items
public synchronized PyList items()(Code)
Return a copy of the mappings list of (key, value) tuple pairs.



iteritems
public synchronized PyObject iteritems()(Code)
return an iterator over (key, value) pairs



iterkeys
public synchronized PyObject iterkeys()(Code)
return an iterator over the keys



itervalues
public synchronized PyObject itervalues()(Code)
return an iterator over the values



jkeys
synchronized String[] jkeys()(Code)



keys
public synchronized PyList keys()(Code)
Return a copy of the mappings list of keys.



popitem
public synchronized PyObject popitem()(Code)
Return a random (key, value) tuple pair and remove the pair from the mapping.



setdefault
public PyObject setdefault(PyObject key)(Code)
Return this[key] if the key exist, otherwise insert key with a None value and return None.
Parameters:
  key - the key to lookup in the mapping.



setdefault
public PyObject setdefault(PyObject key, PyObject failobj)(Code)
Return this[key] if the key exist, otherwise insert key with the value of failobj and return failobj
Parameters:
  key - the key to lookup in the mapping.
Parameters:
  failobj - the default value to insert in the mappingif key does not already exist.



toString
public synchronized String toString()(Code)



update
public synchronized void update(PyStringMap map)(Code)
Insert all the key:value pairs from map into this mapping.



update
public void update(PyDictionary dict)(Code)
Insert all the key:value pairs from dict into this mapping.



values
public synchronized PyList values()(Code)
Return a copy of the mappings list of values.



Fields inherited from org.python.core.PyObject
final public static String exposed_name(Code)(Java Doc)

Methods inherited from org.python.core.PyObject
public PyObject __abs__()(Code)(Java Doc)
public PyObject __add__(PyObject other)(Code)(Java Doc)
public PyObject __and__(PyObject other)(Code)(Java Doc)
public PyObject __call__(PyObject args, String keywords)(Code)(Java Doc)
public PyObject __call__(PyObject arg1, PyObject args, String keywords)(Code)(Java Doc)
public PyObject __call__(PyObject args)(Code)(Java Doc)
public PyObject __call__()(Code)(Java Doc)
public PyObject __call__(PyObject arg0)(Code)(Java Doc)
public PyObject __call__(PyObject arg0, PyObject arg1)(Code)(Java Doc)
public PyObject __call__(PyObject arg0, PyObject arg1, PyObject arg2)(Code)(Java Doc)
public PyObject __call__(PyObject arg0, PyObject arg1, PyObject arg2, PyObject arg3)(Code)(Java Doc)
public int __cmp__(PyObject other)(Code)(Java Doc)
final public PyObject __coerce__(PyObject pyo)(Code)(Java Doc)
public Object __coerce_ex__(PyObject o)(Code)(Java Doc)
public PyComplex __complex__()(Code)(Java Doc)
public boolean __contains__(PyObject o)(Code)(Java Doc)
final public void __delattr__(PyString name)(Code)(Java Doc)
public void __delattr__(String name)(Code)(Java Doc)
public void __delete__(PyObject obj)(Code)(Java Doc)
public void __delitem__(PyObject key)(Code)(Java Doc)
public void __delitem__(String key)(Code)(Java Doc)
public void __delslice__(PyObject s_start, PyObject s_stop, PyObject s_step)(Code)(Java Doc)
public void __delslice__(PyObject start, PyObject stop)(Code)(Java Doc)
public PyObject __dir__()(Code)(Java Doc)
public PyObject __div__(PyObject other)(Code)(Java Doc)
public PyObject __divmod__(PyObject other)(Code)(Java Doc)
public PyObject __eq__(PyObject other)(Code)(Java Doc)
final public PyObject __findattr__(PyString name)(Code)(Java Doc)
public PyObject __findattr__(String name)(Code)(Java Doc)
public PyObject __finditem__(PyObject key)(Code)(Java Doc)
public PyObject __finditem__(int key)(Code)(Java Doc)
public PyObject __finditem__(String key)(Code)(Java Doc)
public PyFloat __float__()(Code)(Java Doc)
public PyObject __floordiv__(PyObject other)(Code)(Java Doc)
public PyObject __ge__(PyObject other)(Code)(Java Doc)
public PyObject __get__(PyObject obj, PyObject type)(Code)(Java Doc)
final public PyObject __getattr__(PyString name)(Code)(Java Doc)
final public PyObject __getattr__(String name)(Code)(Java Doc)
public PyObject __getitem__(int key)(Code)(Java Doc)
public PyObject __getitem__(PyObject key)(Code)(Java Doc)
public PyTuple __getnewargs__()(Code)(Java Doc)
public PyObject __getslice__(PyObject s_start, PyObject s_stop, PyObject s_step)(Code)(Java Doc)
public PyObject __getslice__(PyObject start, PyObject stop)(Code)(Java Doc)
public PyObject __gt__(PyObject other)(Code)(Java Doc)
final public PyInteger __hash__()(Code)(Java Doc)
public PyString __hex__()(Code)(Java Doc)
public PyObject __iadd__(PyObject other)(Code)(Java Doc)
public PyObject __iand__(PyObject other)(Code)(Java Doc)
public PyObject __idiv__(PyObject other)(Code)(Java Doc)
public PyObject __idivmod__(PyObject other)(Code)(Java Doc)
public PyObject __ifloordiv__(PyObject other)(Code)(Java Doc)
public PyObject __ilshift__(PyObject other)(Code)(Java Doc)
public PyObject __imod__(PyObject other)(Code)(Java Doc)
public PyObject __imul__(PyObject other)(Code)(Java Doc)
public PyObject __int__()(Code)(Java Doc)
public PyObject __invert__()(Code)(Java Doc)
public PyObject __ior__(PyObject other)(Code)(Java Doc)
public PyObject __ipow__(PyObject other)(Code)(Java Doc)
public PyObject __irshift__(PyObject other)(Code)(Java Doc)
public PyObject __isub__(PyObject other)(Code)(Java Doc)
public PyObject __iter__()(Code)(Java Doc)
public PyObject __iternext__()(Code)(Java Doc)
public PyObject __itruediv__(PyObject other)(Code)(Java Doc)
public PyObject __ixor__(PyObject other)(Code)(Java Doc)
public PyObject __le__(PyObject other)(Code)(Java Doc)
public int __len__()(Code)(Java Doc)
public PyLong __long__()(Code)(Java Doc)
public PyObject __lshift__(PyObject other)(Code)(Java Doc)
public PyObject __lt__(PyObject other)(Code)(Java Doc)
public PyObject __mod__(PyObject other)(Code)(Java Doc)
public PyObject __mul__(PyObject other)(Code)(Java Doc)
public PyObject __ne__(PyObject other)(Code)(Java Doc)
public PyObject __neg__()(Code)(Java Doc)
public boolean __nonzero__()(Code)(Java Doc)
public PyObject __not__()(Code)(Java Doc)
public PyString __oct__()(Code)(Java Doc)
public PyObject __or__(PyObject other)(Code)(Java Doc)
public PyObject __pos__()(Code)(Java Doc)
public PyObject __pow__(PyObject o2, PyObject o3)(Code)(Java Doc)
public PyObject __pow__(PyObject other)(Code)(Java Doc)
public PyObject __radd__(PyObject other)(Code)(Java Doc)
public PyObject __rand__(PyObject other)(Code)(Java Doc)
protected void __rawdir__(PyDictionary accum)(Code)(Java Doc)
public PyObject __rdiv__(PyObject other)(Code)(Java Doc)
public PyObject __rdivmod__(PyObject other)(Code)(Java Doc)
public PyObject __reduce__()(Code)(Java Doc)
public PyString __repr__()(Code)(Java Doc)
public PyObject __rfloordiv__(PyObject other)(Code)(Java Doc)
public PyObject __rlshift__(PyObject other)(Code)(Java Doc)
public PyObject __rmod__(PyObject other)(Code)(Java Doc)
public PyObject __rmul__(PyObject other)(Code)(Java Doc)
public PyObject __ror__(PyObject other)(Code)(Java Doc)
public PyObject __rpow__(PyObject other)(Code)(Java Doc)
public PyObject __rrshift__(PyObject other)(Code)(Java Doc)
public PyObject __rshift__(PyObject other)(Code)(Java Doc)
public PyObject __rsub__(PyObject other)(Code)(Java Doc)
public PyObject __rtruediv__(PyObject other)(Code)(Java Doc)
public PyObject __rxor__(PyObject other)(Code)(Java Doc)
public void __set__(PyObject obj, PyObject value)(Code)(Java Doc)
final public void __setattr__(PyString name, PyObject value)(Code)(Java Doc)
public void __setattr__(String name, PyObject value)(Code)(Java Doc)
public void __setitem__(PyObject key, PyObject value)(Code)(Java Doc)
public void __setitem__(String key, PyObject value)(Code)(Java Doc)
public void __setitem__(int key, PyObject value)(Code)(Java Doc)
public void __setslice__(PyObject s_start, PyObject s_stop, PyObject s_step, PyObject value)(Code)(Java Doc)
public void __setslice__(PyObject start, PyObject stop, PyObject value)(Code)(Java Doc)
public PyString __str__()(Code)(Java Doc)
public PyObject __sub__(PyObject other)(Code)(Java Doc)
public Object __tojava__(Class c)(Code)(Java Doc)
public PyObject __truediv__(PyObject other)(Code)(Java Doc)
public PyUnicode __unicode__()(Code)(Java Doc)
public PyObject __xor__(PyObject other)(Code)(Java Doc)
final public PyObject _add(PyObject o2)(Code)(Java Doc)
final public PyObject _and(PyObject o2)(Code)(Java Doc)
final PyObject _basic_add(PyObject o2)(Code)(Java Doc)
final PyObject _basic_and(PyObject o2)(Code)(Java Doc)
final PyObject _basic_div(PyObject o2)(Code)(Java Doc)
final PyObject _basic_divmod(PyObject o2)(Code)(Java Doc)
final PyObject _basic_floordiv(PyObject o2)(Code)(Java Doc)
final PyObject _basic_lshift(PyObject o2)(Code)(Java Doc)
final PyObject _basic_mod(PyObject o2)(Code)(Java Doc)
final PyObject _basic_mul(PyObject o2)(Code)(Java Doc)
final PyObject _basic_or(PyObject o2)(Code)(Java Doc)
final PyObject _basic_pow(PyObject o2)(Code)(Java Doc)
final PyObject _basic_rshift(PyObject o2)(Code)(Java Doc)
final PyObject _basic_sub(PyObject o2)(Code)(Java Doc)
final PyObject _basic_truediv(PyObject o2)(Code)(Java Doc)
final PyObject _basic_xor(PyObject o2)(Code)(Java Doc)
public PyObject _callextra(PyObject[] args, String[] keywords, PyObject starargs, PyObject kwargs)(Code)(Java Doc)
final public int _cmp(PyObject o)(Code)(Java Doc)
PyObject[] _coerce(PyObject other)(Code)(Java Doc)
final public PyObject _div(PyObject o2)(Code)(Java Doc)
final public PyObject _divmod(PyObject o2)(Code)(Java Doc)
public PyObject _doget(PyObject container)(Code)(Java Doc)
public PyObject _doget(PyObject container, PyObject wherefound)(Code)(Java Doc)
public boolean _doset(PyObject container, PyObject value)(Code)(Java Doc)
final public PyObject _eq(PyObject o)(Code)(Java Doc)
final public PyObject _floordiv(PyObject o2)(Code)(Java Doc)
final public PyObject _ge(PyObject o)(Code)(Java Doc)
final public PyObject _gt(PyObject o)(Code)(Java Doc)
final public PyObject _in(PyObject o)(Code)(Java Doc)
public PyObject _is(PyObject o)(Code)(Java Doc)
public PyObject _isnot(PyObject o)(Code)(Java Doc)
public PyObject _jcall(Object[] args)(Code)(Java Doc)
public PyObject _jcallexc(Object[] args) throws Throwable(Code)(Java Doc)
public void _jthrow(Throwable t)(Code)(Java Doc)
final public PyObject _le(PyObject o)(Code)(Java Doc)
final public PyObject _lshift(PyObject o2)(Code)(Java Doc)
final public PyObject _lt(PyObject o)(Code)(Java Doc)
final public PyObject _mod(PyObject o2)(Code)(Java Doc)
final public PyObject _mul(PyObject o2)(Code)(Java Doc)
final public PyObject _ne(PyObject o)(Code)(Java Doc)
final public PyObject _notin(PyObject o)(Code)(Java Doc)
final public PyObject _or(PyObject o2)(Code)(Java Doc)
final public PyObject _pow(PyObject o2)(Code)(Java Doc)
final public PyObject _rshift(PyObject o2)(Code)(Java Doc)
final public PyObject _sub(PyObject o2)(Code)(Java Doc)
final public PyObject _truediv(PyObject o2)(Code)(Java Doc)
final protected String _unsupportedop(String op, PyObject o2)(Code)(Java Doc)
final public PyObject _xor(PyObject o2)(Code)(Java Doc)
protected void addKeys(PyDictionary accum, String attr)(Code)(Java Doc)
public int asInt(int index) throws ConversionException(Code)(Java Doc)
public long asLong(int index) throws ConversionException(Code)(Java Doc)
public String asName(int index) throws ConversionException(Code)(Java Doc)
public String asString(int index) throws ConversionException(Code)(Java Doc)
public String asStringOrNull(int index) throws ConversionException(Code)(Java Doc)
public void delDict()(Code)(Java Doc)
public void delType()(Code)(Java Doc)
public void dispatch__init__(PyType type, PyObject[] args, String[] keywords)(Code)(Java Doc)
public boolean equals(Object ob_other)(Code)(Java Doc)
public PyObject fastGetClass()(Code)(Java Doc)
public PyObject fastGetDict()(Code)(Java Doc)
public PyObject getDict()(Code)(Java Doc)
public PyObject getDoc()(Code)(Java Doc)
public PyType getType()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
protected PyObject impAttr(String name)(Code)(Java Doc)
public boolean implementsDescrDelete()(Code)(Java Doc)
public boolean implementsDescrSet()(Code)(Java Doc)
public PyObject invoke(String name, PyObject[] args, String[] keywords)(Code)(Java Doc)
public PyObject invoke(String name, PyObject[] args)(Code)(Java Doc)
public PyObject invoke(String name)(Code)(Java Doc)
public PyObject invoke(String name, PyObject arg1)(Code)(Java Doc)
public PyObject invoke(String name, PyObject arg1, PyObject arg2)(Code)(Java Doc)
public boolean isCallable()(Code)(Java Doc)
public boolean isDataDescr()(Code)(Java Doc)
public boolean isMappingType()(Code)(Java Doc)
public boolean isNumberType()(Code)(Java Doc)
public boolean isSequenceType()(Code)(Java Doc)
boolean jdontdel()(Code)(Java Doc)
boolean jtryset(PyObject container, PyObject value)(Code)(Java Doc)
public void noAttributeError(String name)(Code)(Java Doc)
final boolean object___contains__(PyObject o)(Code)(Java Doc)
final void object___delattr__(String name)(Code)(Java Doc)
final PyObject object___findattr__(String name)(Code)(Java Doc)
final PyObject object___reduce__()(Code)(Java Doc)
final void object___setattr__(String name, PyObject value)(Code)(Java Doc)
final int object_hashCode()(Code)(Java Doc)
final void object_init(PyObject[] args, String[] keywords)(Code)(Java Doc)
final String object_toString()(Code)(Java Doc)
public void readonlyAttributeError(String name)(Code)(Java Doc)
protected String runsupportedopMessage(String op, PyObject o2)(Code)(Java Doc)
public String safeRepr() throws PyIgnoreMethodTag(Code)(Java Doc)
public void setDict(PyObject newDict)(Code)(Java Doc)
public void setType(PyType type)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public static void typeSetup(PyObject dict, PyType.Newstyle marker)(Code)(Java Doc)
protected String unsupportedopMessage(String op, PyObject o2)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws 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.