Re: [collections] Deque interface?

2003-12-10 Thread Stephen Colebourne
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" <

[collections] Deque interface?

2003-12-09 Thread Stephen Colebourne
In moving the last of the classes around before 3.0 I rediscovered CommonsLinkedList. I am remoulding this, however I found that it has the following additional methods to List: addFirst addLast getFirst getLast removeFirst removeLast Some other libraries have a Deque interface that is