You might use a ListBuffer (is mutable), it provides the prepend method ("push") and remove method ("pop"). So implementing a generic Stack is straightforward.