| Author |
Stack and Queue Implementation
|
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
|
|
|
How the Data Structure - Stack and Queue is implemented in Java ?
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
All the data structures like these are provided by the Collections framework.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8263
|
|
java.util.Stack extends java.util.Vector, which is a self-sizing linear array. java.util.LinkedList is a doubly-linked list that also declares stack and queue data structure methods (i.e. get, remove, insert).
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Stack and Queue Implementation
|
|
|