• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stacks and queues

 
Mikealan Smith
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
HELP!!
Thanks Mike

[ October 13, 2003: Message edited by: Cindy Glass ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic