Class Main

java.lang.Object
  |
  +--Main

public class Main
extends java.lang.Object

This class is a small client of a Bridge pattern The bridge concerns a stack tha dynamically changes implementation. The client pushes a few integers onto the stack. Supposedly, the stack overflows and silently changes implementation. Then, the client repeatedly pops the stack and prints the popped values.


Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] arg)
          Usual entry point.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] arg)
Usual entry point.
Parameters:
arg - Ignored.