diff options
Diffstat (limited to 'tutorial/examples/adapter/Stack.java')
-rw-r--r-- | tutorial/examples/adapter/Stack.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tutorial/examples/adapter/Stack.java b/tutorial/examples/adapter/Stack.java new file mode 100644 index 0000000..37f4035 --- /dev/null +++ b/tutorial/examples/adapter/Stack.java @@ -0,0 +1,29 @@ +/* + * This code was generated by ojc. + */ +package examples.adapter; + + +import java.util.Enumeration; + + +public interface Stack +{ + + public int size(); + + public boolean isEmpty(); + + public java.util.Enumeration elements(); + + public java.lang.Object[] toArray(); + + public int hashCode(); + + public void push( java.lang.Object o ); + + public java.lang.Object pop(); + + public java.lang.Object peek(); + +} |