Results 1 to 3 of 3
Thread: token Not Equals
- 10-10-2012, 02:09 AM #1
Member
- Join Date
- Oct 2012
- Posts
- 8
- Rep Power
- 0
- 10-10-2012, 02:27 AM #2
Member
- Join Date
- Oct 2012
- Posts
- 8
- Rep Power
- 0
Re: token Not Equals
i guess something like this might work, where peek is the first item in the stack
Java Code:if(token.equals(")")) do { queue.enqueue(stack.pop()); } while(!token.equals(stack.peek())
- 10-10-2012, 07:31 PM #3
Similar Threads
-
Strut2 Token Interceptor
By nickyjain89 in forum StrutsReplies: 0Last Post: 07-19-2012, 09:35 AM -
LTPA token failed because the token expired why? in websphere 7.0
By thirish in forum New To JavaReplies: 0Last Post: 12-09-2011, 10:28 PM -
How to read from a file line by line,token by token
By kilyx in forum New To JavaReplies: 2Last Post: 11-21-2011, 11:09 AM -
name clash: equals(E) in and equals(java.lang.Object)
By AdRock in forum New To JavaReplies: 0Last Post: 01-25-2008, 11:13 PM -
Help with string token
By trill in forum Advanced JavaReplies: 1Last Post: 07-31-2007, 05:48 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks