class documentation

class LinkedListNode(object):

View In Hierarchy

Node of the linked list

Method __init__ Undocumented
Method __str__ Undocumented
Method delete Delete node
Method set_data Set data stored into node
Instance Variable next Undocumented
Instance Variable prev Undocumented
Property data Get data stored into node
Instance Variable _data Undocumented
def __init__(self, data='', prev_node=None, next_node=None):

Undocumented

def __str__(self):

Undocumented

def delete(self):

Delete node

def set_data(self, data):

Set data stored into node

>>> node = LinkedListNode('foo')
>>> node.data
'foo'
>>> node.set_data('bar')
>>> node.data
'bar'
>>> node.set_data(None)
>>> node.data
''
next =

Undocumented

prev =

Undocumented

@property
data =

Get data stored into node

_data =

Undocumented