class Stack implements Iterable<E> {

	@SuppressWarnings("rawtypes")
	@Override
	public boolean equals(Object obj) {
		if (obj == this) {
			return true;
		}
		if (!(obj instanceof Stack)) {
			return false;
		}

		Stack stack = (Stack) obj;
		return list.equals(stack.list);
	}

	public  Stack();
	public  Stack(int initialCapacity);
	public  Stack(Stack<E> stack);

}