class documentation
class Position:
An abstraction representing the location of a single element.
Note that two position instaces may represent the same inherent location in the list. Therefore, users should always rely on syntax 'p == q' rather than 'p is q' when testing equivalence of positions.
Method | __eq__ |
Return True if other is a Position representing the same location. |
Method | __init__ |
Constructor should not be invoked by user. |
Method | __ne__ |
Return True if other does not represent the same location. |
Method | element |
Return the element stored at this Position. |
Instance Variable | _container |
Undocumented |
Instance Variable | _node |
Undocumented |