Top Fields Constructors Methods
org.python.core

public abstract Class BaseDictionaryView

extends PyObject
implements Traverseproc
Class Inheritance
All Implemented Interfaces
org.python.core.Traverseproc
Known Direct Subclasses
org.python.core.PyDictionary.PyDictionaryViewValues, org.python.core.PyDictionary.PyDictionaryViewKeys, org.python.core.PyDictionary.PyDictionaryViewItems
Imports
java.util.Iterator

Field Summary

Modifier and TypeField and Description
protected final AbstractDict
Inherited from org.python.core.PyObject:
attributesgcMonitorGlobalobjtypeTYPE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PyObject
__eq__(PyObject
the object to compare this with.
otherObj
)

Overrides org.python.core.PyObject.__eq__.

Equivalent to the standard Python __eq__ method.

public PyObject
__ge__(PyObject
the object to compare this with.
otherObj
)

Overrides org.python.core.PyObject.__ge__.

Equivalent to the standard Python __ge__ method.

public PyObject
__gt__(PyObject
the object to compare this with.
otherObj
)

Overrides org.python.core.PyObject.__gt__.

Equivalent to the standard Python __gt__ method.

public PyObject
__le__(PyObject
the object to compare this with.
otherObj
)

Overrides org.python.core.PyObject.__le__.

Equivalent to the standard Python __le__ method.

public int
__len__()

Overrides org.python.core.PyObject.__len__.

Equivalent to the standard Python __len__ method.

public PyObject
__lt__(PyObject
the object to compare this with.
otherObj
)

Overrides org.python.core.PyObject.__lt__.

Equivalent to the standard Python __lt__ method.

public PyObject
__ne__(PyObject
the object to compare this with.
otherObj
)

Overrides org.python.core.PyObject.__ne__.

Equivalent to the standard Python __ne__ method.

pack-priv final boolean
pack-priv final PyObject
pack-priv final PyObject
pack-priv final PyObject
pack-priv final PyObject
pack-priv final int
pack-priv final PyObject
pack-priv final PyObject
pack-priv final String
pack-priv static final boolean
public boolean
public String
toString()

Overrides org.python.core.PyObject.toString.

Returns a string representation of the object.

public int
traverse(Visitproc visit, Object arg)

Implements org.python.core.Traverseproc.traverse.

Traverses all directly contained PyObjects.

Inherited from org.python.core.PyObject:
__abs____add____and____call____call____call____call____call____call____call____call____call____call____call____call____call____call____call____call____cmp____coerce____coerce_ex____complex____contains____delattr____delattr____delete____delitem____delitem____delslice____delslice____dir____div____divmod____ensure_finalizer____findattr____findattr____findattr_ex____finditem____finditem____finditem____float____floordiv____format____get____getattr____getattr____getitem____getitem____getnewargs____getslice____getslice____hash____hex____iadd____iand____idiv____idivmod____ifloordiv____ilshift____imod____imul____index____int____invert____ior____ipow____irshift____isub____iter____iternext____itruediv____ixor____long____lshift____mod____mul____neg____nonzero____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____setitem____setitem____setslice____setslice____str____sub____tojava____truediv____trunc____unicode____xor___add_and_basic_add_basic_and_basic_div_basic_divmod_basic_floordiv_basic_iadd_basic_iand_basic_idiv_basic_idivmod_basic_ifloordiv_basic_ilshift_basic_imod_basic_imul_basic_ior_basic_ipow_basic_irshift_basic_isub_basic_itruediv_basic_ixor_basic_lshift_basic_mod_basic_mul_basic_or_basic_pow_basic_rshift_basic_sub_basic_truediv_basic_xor_callextra_cmp_coerce_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_xoradaptToCoerceTupleasDoubleasIndexasIndexasIntasIntasIterableasLongasLongasNameasNameasStringasStringasStringOrNullasStringOrNullbit_lengthconjugatedelDictdelTypedispatch__init__equalsfastGetClassfastGetDictfinalizegetDictgetJavaProxygetTypehashCodeimpAttrimplementsDescrDeleteimplementsDescrGetimplementsDescrSetinvokeinvokeinvokeinvokeinvokeinvokeisCallableisDataDescrisIndexisIntegerisMappingTypeisNumberTypeisSequenceTypejdontdelmergeClassDictmergeDictAttrmergeListAttrnoAttributeErrorobject___contains__object___delattr__object___delattr__object___findattr__object___format__object___getattribute__object___hash__object___init__object___new__object___reduce__object___reduce_ex__object___setattr__object___setattr__object___subclasshook__object_toStringproxyInitreadonlyAttributeErrorrunsupportedopMessagesetDictsetTypeunsupportedopMessage

Field Detail

dvDictback to summary
protected final AbstractDict dvDict

Constructor Detail

BaseDictionaryViewback to summary
public BaseDictionaryView(AbstractDict dvDict)

Method Detail

__eq__back to summary
public PyObject __eq__(PyObject otherObj)

Overrides org.python.core.PyObject.__eq__.

Doc from org.python.core.PyObject.__eq__.

Equivalent to the standard Python __eq__ method.

Parameters
otherObj:PyObject

the object to compare this with.

Returns:PyObject

the result of the comparison.

__ge__back to summary
public PyObject __ge__(PyObject otherObj)

Overrides org.python.core.PyObject.__ge__.

Doc from org.python.core.PyObject.__ge__.

Equivalent to the standard Python __ge__ method.

Parameters
otherObj:PyObject

the object to compare this with.

Returns:PyObject

the result of the comparison.

__gt__back to summary
public PyObject __gt__(PyObject otherObj)

Overrides org.python.core.PyObject.__gt__.

Doc from org.python.core.PyObject.__gt__.

Equivalent to the standard Python __gt__ method.

Parameters
otherObj:PyObject

the object to compare this with.

Returns:PyObject

the result of the comparison.

__le__back to summary
public PyObject __le__(PyObject otherObj)

Overrides org.python.core.PyObject.__le__.

Doc from org.python.core.PyObject.__le__.

Equivalent to the standard Python __le__ method.

Parameters
otherObj:PyObject

the object to compare this with.

Returns:PyObject

the result of the comparison.

__len__back to summary
public int __len__()

Overrides org.python.core.PyObject.__len__.

Doc from org.python.core.PyObject.__len__.

Equivalent to the standard Python __len__ method. Part of the mapping discipline.

Returns:int

the length of the object

__lt__back to summary
public PyObject __lt__(PyObject otherObj)

Overrides org.python.core.PyObject.__lt__.

Doc from org.python.core.PyObject.__lt__.

Equivalent to the standard Python __lt__ method.

Parameters
otherObj:PyObject

the object to compare this with.

Returns:PyObject

the result of the comparison.

__ne__back to summary
public PyObject __ne__(PyObject otherObj)

Overrides org.python.core.PyObject.__ne__.

Doc from org.python.core.PyObject.__ne__.

Equivalent to the standard Python __ne__ method.

Parameters
otherObj:PyObject

the object to compare this with.

Returns:PyObject

the result of the comparison.

allContainedInback to summary
pack-priv final boolean allContainedIn(PyObject self, PyObject other)
dict_view___eq__back to summary
pack-priv final PyObject dict_view___eq__(PyObject otherObj)
dict_view___ge__back to summary
pack-priv final PyObject dict_view___ge__(PyObject otherObj)
dict_view___gt__back to summary
pack-priv final PyObject dict_view___gt__(PyObject otherObj)
dict_view___le__back to summary
pack-priv final PyObject dict_view___le__(PyObject otherObj)
dict_view___len__back to summary
pack-priv final int dict_view___len__()
dict_view___lt__back to summary
pack-priv final PyObject dict_view___lt__(PyObject otherObj)
dict_view___ne__back to summary
pack-priv final PyObject dict_view___ne__(PyObject otherObj)
dict_view_toStringback to summary
pack-priv final String dict_view_toString()
isSetDictViewInstanceback to summary
pack-priv static final boolean isSetDictViewInstance(PyObject otherObj)
refersDirectlyToback to summary
public boolean refersDirectlyTo(PyObject ob)

Implements org.python.core.Traverseproc.refersDirectlyTo.

Doc from org.python.core.Traverseproc.refersDirectlyTo.

Optional operation. Should only be implemented if it is more efficient than calling traverse(Visitproc, Object) with a visitproc that just watches out for ob. Must return false if ob is null.

Annotations
@Override
toStringback to summary
public String toString()

Overrides org.python.core.PyObject.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

traverseback to summary
public int traverse(Visitproc visit, Object arg)

Implements org.python.core.Traverseproc.traverse.

Doc from org.python.core.Traverseproc.traverse.

Traverses all directly contained PyObjects. Like in CPython, arg must be passed unmodified to visit as its second parameter. If Visitproc#visit(PyObject, Object) returns nonzero, this return value must be returned immediately by traverse. Visitproc#visit(PyObject, Object) must not be called with a null PyObject-argument.

Annotations
@Override