public class LoudPyStringMap extends org.python.core.PyStringMap
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Object,org.python.core.PyObject> |
initMap |
private java.lang.String |
mapName |
Constructor and Description |
---|
LoudPyStringMap(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
__delitem__(org.python.core.PyObject key) |
void |
__delitem__(java.lang.String key) |
org.python.core.PyObject |
__getitem__(org.python.core.PyObject key) |
org.python.core.PyObject |
__getitem__(java.lang.String key) |
org.python.core.PyObject |
__iter__() |
void |
__setitem__(org.python.core.PyObject key,
org.python.core.PyObject value) |
void |
__setitem__(java.lang.String key,
org.python.core.PyObject value) |
void |
bake() |
private boolean |
checkForDone(java.util.Map<java.lang.Object,org.python.core.PyObject> table) |
private boolean |
isAlwaysAllowed(org.python.core.PyObject key) |
private boolean |
isAlwaysAllowed(java.lang.String key) |
private static org.python.core.PyObject |
keyToPy(java.lang.Object objKey) |
private static java.lang.Object |
pyToKey(org.python.core.PyObject pyKey) |
__cmp__, __contains__, __finditem__, __finditem__, __len__, __nonzero__, clear, copy, fromkeys, fromkeys, get, get, getMap, has_key, has_key, hashCode, isMappingType, isSequenceType, items, iteritems, iterkeys, itervalues, keys, pop, pop, popitem, refersDirectlyTo, setdefault, setdefault, toString, traverse, update, values
__abs__, __add__, __and__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __coerce__, __coerce_ex__, __complex__, __delattr__, __delattr__, __delete__, __delslice__, __delslice__, __dir__, __div__, __divmod__, __ensure_finalizer__, __eq__, __findattr__, __findattr__, __findattr_ex__, __finditem__, __float__, __floordiv__, __format__, __ge__, __get__, __getattr__, __getattr__, __getitem__, __getnewargs__, __getslice__, __getslice__, __gt__, __hash__, __hex__, __iadd__, __iand__, __idiv__, __idivmod__, __ifloordiv__, __ilshift__, __imod__, __imul__, __index__, __int__, __invert__, __ior__, __ipow__, __irshift__, __isub__, __iternext__, __itruediv__, __ixor__, __le__, __long__, __lshift__, __lt__, __mod__, __mul__, __ne__, __neg__, __not__, __oct__, __or__, __pos__, __pow__, __pow__, __radd__, __rand__, __rawdir__, __rdiv__, __rdivmod__, __reduce__, __reduce_ex__, __reduce_ex__, __repr__, __rfloordiv__, __rlshift__, __rmod__, __rmul__, __ror__, __rpow__, __rrshift__, __rshift__, __rsub__, __rtruediv__, __rxor__, __set__, __setattr__, __setattr__, __setitem__, __setslice__, __setslice__, __str__, __sub__, __tojava__, __truediv__, __trunc__, __unicode__, __xor__, _add, _and, _callextra, _cmp, _div, _divmod, _doget, _doget, _doset, _eq, _floordiv, _ge, _gt, _iadd, _iand, _idiv, _idivmod, _ifloordiv, _ilshift, _imod, _imul, _in, _ior, _ipow, _irshift, _is, _isnot, _isub, _itruediv, _ixor, _jcall, _jcallexc, _jthrow, _le, _lshift, _lt, _mod, _mul, _ne, _notin, _or, _pow, _rshift, _sub, _truediv, _unsupportedop, _xor, adaptToCoerceTuple, asDouble, asIndex, asIndex, asInt, asInt, asIterable, asLong, asLong, asName, asName, asString, asString, asStringOrNull, asStringOrNull, bit_length, conjugate, delDict, delType, dispatch__init__, equals, fastGetClass, fastGetDict, finalize, getDict, getJavaProxy, getType, impAttr, implementsDescrDelete, implementsDescrGet, implementsDescrSet, invoke, invoke, invoke, invoke, invoke, invoke, isCallable, isDataDescr, isIndex, isInteger, isNumberType, mergeClassDict, mergeDictAttr, mergeListAttr, noAttributeError, object___subclasshook__, readonlyAttributeError, runsupportedopMessage, setDict, setType, unsupportedopMessage
private final java.lang.String mapName
private java.util.Map<java.lang.Object,org.python.core.PyObject> initMap
public LoudPyStringMap(java.lang.String name)
public void bake()
private boolean isAlwaysAllowed(java.lang.String key)
private boolean isAlwaysAllowed(org.python.core.PyObject key)
private boolean checkForDone(java.util.Map<java.lang.Object,org.python.core.PyObject> table)
public org.python.core.PyObject __getitem__(java.lang.String key)
__getitem__
in class org.python.core.PyStringMap
public org.python.core.PyObject __getitem__(org.python.core.PyObject key)
__getitem__
in class org.python.core.PyStringMap
public org.python.core.PyObject __iter__()
__iter__
in class org.python.core.PyStringMap
public void __setitem__(java.lang.String key, org.python.core.PyObject value)
__setitem__
in class org.python.core.PyStringMap
public void __setitem__(org.python.core.PyObject key, org.python.core.PyObject value)
__setitem__
in class org.python.core.PyStringMap
public void __delitem__(java.lang.String key)
__delitem__
in class org.python.core.PyStringMap
public void __delitem__(org.python.core.PyObject key)
__delitem__
in class org.python.core.PyStringMap
private static org.python.core.PyObject keyToPy(java.lang.Object objKey)
private static java.lang.Object pyToKey(org.python.core.PyObject pyKey)