コード例 #1
0
ファイル: bridge.java プロジェクト: RustyAF/Design-Patterns
 public int pop() {
   while (!isEmpty()) temp.push(super.pop());
   int ret = temp.pop();
   while (!temp.isEmpty()) push(temp.pop());
   return ret;
 }