|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Main
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 |
|
Constructor Detail |
public Main()
Method Detail |
public static void main(java.lang.String[] arg)
arg
- Ignored.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |