You're argument makes some sense, however its not really what I need. I need an interface that does extend List, but has additional top and tail methods. Like LinkedList.
At the moment, we'll probably have to do without the interface. Stephen ----- Original Message ----- From: "Todd V. Jonker" <[EMAIL PROTECTED]> > I like the idea of a Deque interface, but I don't like the idea of it > extending List. You can't insert or peek into the middle of a queue. > Keeping the interface more "true" to the data structure would make it > more reusable and easier to provide other implementations. > > On Tue, 9 Dec 2003 23:58:11 -0000, "Stephen Colebourne" > <[EMAIL PROTECTED]> said: > raries have a Deque interface that is a subinterface of > > List. > > Other names are SList and DList. So, should we add a Deque interface to > > [collections]?? (We can't add it after 3.0 as a Deque interface implies a > > deque subpackage......or does it?) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
