| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private class | |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static PyType | lazyType
TYPE computed lazily, PyStringMap is used early in the bootstrap process and statically calling fromClass(PyStringMap.class) is unsafe. |
| private final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | __cmp__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __cmp__ method. |
| public boolean | __contains__(PyObject
the element to search for in this container. o)Overrides org. Equivalent to the standard Python __contains__ method. |
| public void | __delitem__(String
the key who will be removed - must be an interned string . key)Overrides org. A variant of the __delitem__ method which accepts a String as the key. |
| public void | __delitem__(PyObject
the key to be removed from the container key)Overrides org. Equivalent to the standard Python __delitem__ method. |
| public PyObject | __finditem__(String
the key to lookup in this sequence - must be an interned string . key)Overrides org. A variant of the __finditem__ method which accepts a Java |
| public PyObject | __finditem__(PyObject
the key to lookup in this container key)Overrides org. Very similar to the standard Python __getitem__ method. |
| public PyObject | |
| public PyObject | __getitem__(PyObject
the key to lookup in this container. key)Overrides org. Equivalent to the standard Python __getitem__ method. |
| public PyObject | __iter__()
Overrides org. Return an iterator that is used to iterate the element of this sequence. |
| public int | __len__()
Overrides org. Equivalent to the standard Python __len__ method. |
| public boolean | __nonzero__()
Overrides org. Equivalent to the standard Python __nonzero__ method. |
| public void | __setitem__(String
the key whose value will be set - must be an interned string . key, PyObject the value to set this key to value)Overrides org. A variant of the __setitem__ method which accepts a String as the key. |
| public void | __setitem__(PyObject
the key whose value will be set key, PyObject the value to set this key to value)Overrides org. Equivalent to the standard Python __setitem__ method. |
| public void | clear()
Implements abstract org. Remove all items from the dictionary. |
| public PyStringMap | copy()
Implements abstract org. Return a shallow copy of the dictionary. |
| public Set | |
| public static PyObject | |
| public static PyObject | |
| public PyObject | get(PyObject
the key to lookup in the mapping. key, PyObject the value to return if the key does not exists in the mapping. defaultObj)Implements abstract org. Return this[key] if the key exists in the mapping, defaultObj is returned otherwise. |
| public PyObject | get(PyObject
the key to lookup in the mapping. key)Implements abstract org. Return this[key] if the key exists in the mapping, None is returned otherwise. |
| private static PyType | |
| public ConcurrentMap | |
| public boolean | |
| public boolean | |
| public int | |
| public boolean | |
| public boolean | |
| public PyList | items()
Implements abstract org. Return a copy of the mappings list of (key, value) tuple pairs. |
| private PyTuple | |
| public PyObject | iteritems()
Implements abstract org. return an iterator over (key, value) pairs |
| public PyObject | iterkeys()
Implements abstract org. return an iterator over the keys |
| public PyObject | itervalues()
Implements abstract org. return an iterator over the values |
| public PyList | keys()
Implements abstract org. Return a copy of the mappings list of keys. |
| private static PyObject | |
| private void | |
| public void | merge(PyObject
a PyObject with a keys() method other, boolean if true, the value from other is used on key-collision override)Implements abstract org. Merge another PyObject that supports keys() with this dict. |
| private void | mergeFromKeys(PyObject
a PyObject with a keys() method other, PyObject the result of other's keys() method keys)Merge another PyObject via its keys() method |
| public void | mergeFromKeys(PyObject
a PyObject with a keys() method other, PyObject the result of other's keys() method keys, boolean if true, the value from other is used on key-collision override)Implements abstract org. Merge another PyObject via its keys() method |
| private void | mergeFromSeq(PyObject
another PyObject other)Merge any iterable object producing iterable objects of length 2 into this dict. |
| public void | mergeFromSeq(PyObject
another PyObject other, boolean if true, the value from other is used on key-collision override)Implements abstract org. Merge any iterable object producing iterable objects of length 2 into this dict. |
| public PyObject | |
| public PyObject | |
| public PyObject | popitem()
Implements abstract org. Return a random (key, value) tuple pair and remove the pair from the mapping. |
| public Set | |
| private static Object | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public PyObject | setdefault(PyObject
the key to lookup in the mapping. key)Implements abstract org. Return this[key] if the key exist, otherwise insert key with a None value and return None. |
| public PyObject | setdefault(PyObject
the key to lookup in the mapping. key, PyObject the default value to insert in the mapping if key does not already exist. failobj)Implements abstract org. Return this[key] if the key exist, otherwise insert key with the value of failobj and return failobj |
| pack-priv final int | |
| pack-priv final boolean | |
| pack-priv final void | |
| pack-priv final PyObject | |
| pack-priv final int | |
| pack-priv final PyObject | |
| pack-priv final int | |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final PyStringMap | |
| pack-priv static PyObject | |
| pack-priv final PyObject | |
| pack-priv final boolean | |
| pack-priv final PyList | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyList | |
| pack-priv static final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final String | |
| pack-priv final void | stringmap_update(PyObject[] args, String[] keywords)
Insert all the key:value pairs from |
| pack-priv final PyList | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| public void | |
| public PyList | values()
Implements abstract org. Return a copy of the mappings list of values. |
| public PyObject | viewitems()
Overrides org. Returns a dict_items on the dictionary's items |
| public PyObject | viewkeys()
Overrides org. Returns a dict_keys on the dictionary's keys |
| public PyObject | viewvalues()
Overrides org. Returns a dict_values on the dictionary's values |