def __init__(self, sourceCollection = None): """ Sets the initial state of self, which includes the contents of sourceCollection, if it's present. """ self._items = None AbstractStack.__init__(self, sourceCollection)
def __init__(self, source_collection=None): """ Sets the initial state of self, which includes the contents of sourceCollection, if it's present. """ self.items = Array(ArrayStack.DEFAULT_CAPACITY) AbstractStack.__init__(self, source_collection)
def __init__(self, sourceCollection = None): """Sets the initial state of self, which includes the contents of sourceCollection, if it's present.""" self.items = None self.size = 0 self.sourceCollection = sourceCollection self.ab_collection = AbstractStack(self.sourceCollection)
def __init__(self, sourceCollection=None): """Sets the initial state of self, which includes the contents of sourceCollection, if it's present.""" self._items = Array(ArrayStack.DEFAULT_CAPACITY) AbstractStack.__init__(self, sourceCollection)
def __init__(self, sourceCollection=None): self._items = None AbstractStack.__init__(self, sourceCollection)
def __init__(self, sourceCollection=None): AbstractArray.__init__(self) AbstractStack.__init__(self, sourceCollection)
def __init__(self, source_collection=None): self._items = Array(ArrayStack.DEFAULT_CAPACITY) AbstractStack.__init__(self, source_collection)
def __init__(self, items=None): self._items = Link() AbstractStack.__init__(self, items)
def __init__(self, items = None): self._items = Array() AbstractStack.__init__(self, items)