File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes stacks and queues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "stacks and queues" Watch "stacks and queues" New topic

stacks and queues

Mikealan Smith

Joined: Aug 29, 2003
Posts: 15
i'm totally confused. can someone look at the attached jar file and tell me why i have a stack class defined. Since there is a java stack class i don't know why one is created here. Secondly. i have the need to read the elements of the stack and get number of shares, but by popping them, i can't use them later. i want to be able to read the stack without popping. looking at the java reference, it looks like get() should be available, but when i try to use it, it tells me its not defined for type Stack.
Thanks Mike

[ October 13, 2003: Message edited by: Cindy Glass ]
I agree. Here's the link:
subject: stacks and queues
It's not a secret anymore!