TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG-DEVEL:208] Queue in JDK 1.2?



Bob Tanner <tanner@real-time.com> writes:

> Am I missing something?
> 
> I do not find a queue implementation in JDK 1.2, I found a stack. Does one of
> the other ADTs act like a queue?

You can treat the Vector class as a queue, the Stack class is just a subclass
of Vector anyway.

-- 
Jon Schewe 
http://eggplant.mtu.net/~jpschewe
schewe@tcfreenet.org