question: public StackImpl ( Collection < T > initialContents ) { this ( ) ; list . addAll ( initialContents ) ; }
target:  Creates a new stack, with the given initialContents. The first element of initialContents will be on the bottom of the stack, the last element will be on top of it.