public Stack(Stack<Item> that){
Stack<Item> temp = new Stack<Item>();
for(Item i:that){
temp.push(i);
}
for(Item i:temp){
push(i);
}
}
public Queue(Queue<Item> that){
for(Item i:that)
enqueue(i);
}
public Stack(Stack<Item> that){
Stack<Item> temp = new Stack<Item>();
for(Item i:that){
temp.push(i);
}
for(Item i:temp){
push(i);
}
}
public Queue(Queue<Item> that){
for(Item i:that)
enqueue(i);
}