コード例 #1
0
ファイル: blood_cell_count.py プロジェクト: scottsman/Human
class RedBloodCellCount(object):
    """ Keep track of all red blood (rb) cells in the system.

    Circular linked list.
    """
    def __init__(self):
        self.rb_cells = CircularList()

    def add_red_blood_cell(self, rb_cell):
        self.rb_cells.append(rb_cell)
コード例 #2
0
ファイル: blood_cell_count.py プロジェクト: scottsman/Human
 def __init__(self):
     self.rb_cells = CircularList()